Share via


IVsFinder.GetState(Int32, UInt32, UInt32) Method

Definition

Gets state.

public:
 int GetState([Runtime::InteropServices::Out] int % pcFound, [Runtime::InteropServices::Out] System::UInt32 % pResult, [Runtime::InteropServices::Out] System::UInt32 % pState);
int GetState([Runtime::InteropServices::Out] int & pcFound, [Runtime::InteropServices::Out] unsigned int & pResult, [Runtime::InteropServices::Out] unsigned int & pState);
public int GetState (out int pcFound, out uint pResult, out uint pState);
abstract member GetState : int * uint32 * uint32 -> int
Public Function GetState (ByRef pcFound As Integer, ByRef pResult As UInteger, ByRef pState As UInteger) As Integer

Parameters

pcFound
Int32

[out] Number of state values found.

pResult
UInt32

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

pState
UInt32

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

Returns

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

Remarks

COM Signature

From textfind.idl:

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

Applies to