IVsPropertyBrowser::SetState Method (array<VsPropertyBrowserState>^)

 

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)

int SetState(
	array<VsPropertyBrowserState>^ pstate
)

Parameters

pstate
Type: array<Microsoft.VisualStudio.Shell.Interop::VsPropertyBrowserState>^

[in] Pointer to a VsPropertyBrowserState structure containing the new state of the browser.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsPropertyBrowser::SetState(
   [in] const VsPropertyBrowserState * pState
);
Return to top
Show: