Share via


IVsFinder.GetState Method

Gets state.

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

Syntax

'Declaration
Function GetState ( _
    <OutAttribute> ByRef pcFound As Integer, _
    <OutAttribute> ByRef pResult As UInteger, _
    <OutAttribute> ByRef pState As UInteger _
) As Integer
int GetState(
    out int pcFound,
    out uint pResult,
    out uint pState
)
int GetState(
    [OutAttribute] int% pcFound, 
    [OutAttribute] unsigned int% pResult, 
    [OutAttribute] unsigned int% pState
)
abstract GetState : 
        pcFound:int byref * 
        pResult:uint32 byref * 
        pState:uint32 byref -> int
function GetState(
    pcFound : int, 
    pResult : uint, 
    pState : uint
) : int

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.

Remarks

COM Signature

From textfind.idl:

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

.NET Framework Security

See Also

Reference

IVsFinder Interface

Microsoft.VisualStudio.TextManager.Interop Namespace