Partager via


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

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

See Also

Reference

IVsPropertyBrowser Interface

Microsoft.VisualStudio.Shell.Interop Namespace