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

‘선언
Function SetState ( _
    pstate As VsPropertyBrowserState() _
) As Integer
‘사용 방법
Dim instance As IVsPropertyBrowser
Dim pstate As VsPropertyBrowserState()
Dim returnValue As Integer

returnValue = instance.SetState(pstate)
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

IVsPropertyBrowser Members

Microsoft.VisualStudio.Shell.Interop Namespace