Condividi tramite


Metodo IVsFinder.GetState

Ottiene l'oggetto di stato.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Sintassi

'Dichiarazione
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

Parametri

  • pcFound
    Tipo: Int32%

    [out]

  • pResult
    Tipo: UInt32%

    [out]

  • pState
    Tipo: UInt32%

    [out]

Valore restituito

Tipo: Int32
Se il metodo ha esito positivo, restituisce S_OK.Se non riesce, restituisce un codice di errore.

Note

Firma COM

da textfind.idl:

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsFinder Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop