WindowPane.SaveUIState Method
Override to save custom state information to be used later when the pane is reconstructed.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Public Overridable Function SaveUIState ( _
<OutAttribute> ByRef stateStream As Stream _
) As Integer
public virtual int SaveUIState(
out Stream stateStream
)
public:
virtual int SaveUIState(
[OutAttribute] Stream^% stateStream
)
abstract SaveUIState :
stateStream:Stream byref -> int
override SaveUIState :
stateStream:Stream byref -> int
public function SaveUIState(
stateStream : Stream
) : int
Parameters
- stateStream
Type: System.IO.Stream%
The stream with the state information.
Return Value
Type: System.Int32
By default sets the stream to nulla null reference (Nothing in Visual Basic) and returns S_OK.
.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.