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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
‘선언
Public Overridable Function SaveUIState ( _
<OutAttribute> ByRef stateStream As Stream _
) As Integer
public virtual int SaveUIState(
out Stream stateStream
)
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.