Share via


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

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

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace