VsFinderClass.GetState(Int32, UInt32, UInt32) 方法

定义

获取状态。

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

参数

pcFound
Int32

弄找到的状态值的数目。

pResult
UInt32

弄指示操作结果的枚举值。 值取自 __VSFINDERROR 枚举。

pState
UInt32

弄指示操作状态的枚举值。 值取自 __VSFINDSTATE 枚举

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

适用于