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
'Declaration
Function GetState ( _
<OutAttribute> pstate As VsPropertyBrowserState() _
) As Integer
int GetState(
VsPropertyBrowserState[] pstate
)
int GetState(
[InAttribute] [OutAttribute] array<VsPropertyBrowserState>^ pstate
)
abstract GetState :
pstate:VsPropertyBrowserState[] byref -> int
function GetState(
pstate : VsPropertyBrowserState[]
) : int
Parameters
pstate
Type: array<Microsoft.VisualStudio.Shell.Interop.VsPropertyBrowserState[][in, out] Pointer to a caller-allocated instance of a VsPropertyBrowserState structure filled in with information about the property 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:
[C++]
HRESULT IVsPropertyBrowser::GetState(
[in, out] 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.