Partilhar 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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Public Overridable Function SaveUIState ( _
    <OutAttribute> ByRef stateStream As Stream _
) As Integer
public virtual int SaveUIState(
    out Stream stateStream
)

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