Partager via


IVsPropertyBrowser.GetState(VsPropertyBrowserState[]) Method

Definition

Gets the state of the property browser and returns it in a VsPropertyBrowserState structure.

public:
 int GetState(cli::array <Microsoft::VisualStudio::Shell::Interop::VsPropertyBrowserState> ^ pstate);
int GetState(std::Array <Microsoft::VisualStudio::Shell::Interop::VsPropertyBrowserState> const & pstate);
public int GetState (Microsoft.VisualStudio.Shell.Interop.VsPropertyBrowserState[] pstate);
abstract member GetState : Microsoft.VisualStudio.Shell.Interop.VsPropertyBrowserState[] -> int
Public Function GetState (pstate As VsPropertyBrowserState()) As Integer

Parameters

pstate
VsPropertyBrowserState[]

[in, out] Pointer to a caller-allocated instance of a VsPropertyBrowserState structure filled in with information about the property browser.

Returns

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  
);  

Applies to