Share via


WindowPane.IVsUIElementPane.SaveUIElementState Method

Stores the state of the pane to the specified stream.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Private Function SaveUIElementState ( _
    pstream As IStream _
) As Integer Implements IVsUIElementPane.SaveUIElementState
int IVsUIElementPane.SaveUIElementState(
    IStream pstream
)
private:
virtual int SaveUIElementState(
    IStream^ pstream
) sealed = IVsUIElementPane::SaveUIElementState
private abstract SaveUIElementState : 
        pstream:IStream -> int 
private override SaveUIElementState : 
        pstream:IStream -> int 
JScript does not support explicit interface implementations.

Parameters

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

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace