IVsPropertyBrowser.GetState Method
Gets the state of the property browser and returns it in a VsPropertyBrowserState structure.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function GetState ( _
<OutAttribute> pstate As VsPropertyBrowserState() _
) As Integer
'使用
Dim instance As IVsPropertyBrowser
Dim pstate As VsPropertyBrowserState()
Dim returnValue As Integer
returnValue = instance.GetState(pstate)
int GetState(
VsPropertyBrowserState[] pstate
)
int GetState(
[InAttribute] [OutAttribute] array<VsPropertyBrowserState>^ pstate
)
function GetState(
pstate : VsPropertyBrowserState[]
) : int
Parameters
- pstate
Type: []
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
[C++]
HRESULT IVsPropertyBrowser::GetState(
[in, out] VsPropertyBrowserState * pState
);
Permissions
- 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.