WindowPane.IVsUIElementPane.SaveUIElementState Method
Stores the state of the pane to the specified stream.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Private Function SaveUIElementState ( _
pstream As IStream _
) As Integer Implements IVsUIElementPane.SaveUIElementState
int IVsUIElementPane.SaveUIElementState(
IStream pstream
)
private:
virtual int SaveUIElementState(
IStream^ pstream
) sealed = IVsUIElementPane::SaveUIElementState
private abstract SaveUIElementState :
pstream:IStream -> int
private override SaveUIElementState :
pstream:IStream -> int
JScript does not support explicit interface implementations.
Parameters
- pstream
Type: Microsoft.VisualStudio.OLE.Interop.IStream
The stream to which to save the state.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsUIElementPane.SaveUIElementState(IStream)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.