WindowPane.IVsUIElementPane.LoadUIElementState Method
When implemented in a derived class, loads custom state storage.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Private Function LoadUIElementState ( _
pstream As IStream _
) As Integer Implements IVsUIElementPane.LoadUIElementState
int IVsUIElementPane.LoadUIElementState(
IStream pstream
)
private:
virtual int LoadUIElementState(
IStream^ pstream
) sealed = IVsUIElementPane::LoadUIElementState
private abstract LoadUIElementState :
pstream:IStream -> int
private override LoadUIElementState :
pstream:IStream -> int
JScript does not support explicit interface implementations.
Parameters
pstream
Type: Microsoft.VisualStudio.OLE.Interop.IStreamThe stream from which to load the state.
Return Value
Type: System.Int32
By default this method returns E_NOTIMPL.
Implements
IVsUIElementPane.LoadUIElementState(IStream)
.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.