IVsPropertyBrowser.SetState Method
Sets the state of the property browser using information in a VsPropertyBrowserState structure.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function SetState ( _
pstate As VsPropertyBrowserState() _
) As Integer
int SetState(
VsPropertyBrowserState[] pstate
)
int SetState(
[InAttribute] array<VsPropertyBrowserState>^ pstate
)
abstract SetState :
pstate:VsPropertyBrowserState[] -> int
function SetState(
pstate : VsPropertyBrowserState[]
) : int
Parameters
pstate
Type: array<Microsoft.VisualStudio.Shell.Interop.VsPropertyBrowserState[][in] Pointer to a VsPropertyBrowserState structure containing the new state of the browser.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsPropertyBrowser::SetState(
[in] const VsPropertyBrowserState * pState
);
.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.