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)


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


Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From vsshell.idl:


HRESULT IVsPropertyBrowser::GetState(
   [in, out] VsPropertyBrowserState * pState

.NET Framework Security

See Also


IVsPropertyBrowser Interface

IVsPropertyBrowser Members

Microsoft.VisualStudio.Shell.Interop Namespace