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
)
abstract GetState : 
        pstate:VsPropertyBrowserState[] byref -> int 
function GetState(
    pstate : VsPropertyBrowserState[]
) : int

Parameters

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
);

.NET Framework Security

See Also

Reference

IVsPropertyBrowser Interface

IVsPropertyBrowser Members

Microsoft.VisualStudio.Shell.Interop Namespace