WindowPane.IVsUIElementPane.SaveUIElementState Method
Stores the state of the pane to the specified stream.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Private Function SaveUIElementState ( _
pstream As IStream _
) As Integer Implements IVsUIElementPane.SaveUIElementState
int IVsUIElementPane.SaveUIElementState(
IStream pstream
)
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.