Partilhar via


Método IVsFinder.GetState

Estado obtém.

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

Sintaxe

'Declaração
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

Parâmetros

  • pcFound
    Tipo: Int32%

    [out]

  • pResult
    Tipo: UInt32%

    [out]

  • pState
    Tipo: UInt32%

    [out]

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textfind.idl:

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

Segurança do .NET Framework

Consulte também

Referência

IVsFinder Interface

Namespace Microsoft.VisualStudio.TextManager.Interop