IVsFinder::GetState Method (Int32, UInt32, UInt32)

 

Gets state.

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

int GetState(
	[OutAttribute] int% pcFound,
	[OutAttribute] unsigned int% pResult,
	[OutAttribute] unsigned int% pState
)

Parameters

pcFound
Type: System::Int32

[out] Number of state values found.

pResult
Type: System::UInt32

[out] Enumeration value indicating result of the operation. Values are taken from the __VSFINDERROR enum.

pState
Type: System::UInt32

[out] Enumeration value indicating state of the operation. Values are taken from the __VSFINDSTATE enum.

Return Value

Type: System::Int32

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

From textfind.idl:

HRESULT IVsFinder::GetState(
   [out] LONG * pcFound,
   [out] VSFINDERROR * pResult
);
Return to top
Show: