Share via


IVsPropertyBrowser.SetState Method

Sets the state of the property browser using information in a VsPropertyBrowserState structure.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function SetState ( _
    pstate As VsPropertyBrowserState() _
) As Integer
int SetState(
    VsPropertyBrowserState[] pstate
)
int SetState(
    [InAttribute] array<VsPropertyBrowserState>^ pstate
)
abstract SetState : 
        pstate:VsPropertyBrowserState[] -> int
function SetState(
    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:

HRESULT IVsPropertyBrowser::SetState(
   [in] const VsPropertyBrowserState * pState
);

.NET Framework Security

See Also

Reference

IVsPropertyBrowser Interface

Microsoft.VisualStudio.Shell.Interop Namespace