Partager via


VsFinderClass.GetState(Int32, UInt32, UInt32) Method

Definition

Gets state.

public:
 virtual int GetState([Runtime::InteropServices::Out] int % pcFound, [Runtime::InteropServices::Out] System::UInt32 % pResult, [Runtime::InteropServices::Out] System::UInt32 % pState) = Microsoft::VisualStudio::TextManager::Interop::IVsFinder::GetState;
public:
 virtual int GetState([Runtime::InteropServices::Out] int % pcFound, [Runtime::InteropServices::Out] System::UInt32 % pResult, [Runtime::InteropServices::Out] System::UInt32 % pState);
 virtual int GetState([Runtime::InteropServices::Out] int & pcFound, [Runtime::InteropServices::Out] unsigned int & pResult, [Runtime::InteropServices::Out] unsigned int & pState);
public virtual int GetState (out int pcFound, out uint pResult, out uint pState);
abstract member GetState : int * uint32 * uint32 -> int
override this.GetState : int * uint32 * uint32 -> int
Public Overridable 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.

Implements

Applies to