Condividi tramite


Metodo IVsRegisterFindScope.RegisterFindScope

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

Sintassi

'Dichiarazione
Function RegisterFindScope ( _
    pScope As IVsFindScope, _
    <OutAttribute> ByRef pdwCookie As UInteger _
) As Integer
int RegisterFindScope(
    IVsFindScope pScope,
    out uint pdwCookie
)
int RegisterFindScope(
    [InAttribute] IVsFindScope^ pScope, 
    [OutAttribute] unsigned int% pdwCookie
)
abstract RegisterFindScope : 
        pScope:IVsFindScope * 
        pdwCookie:uint32 byref -> int
function RegisterFindScope(
    pScope : IVsFindScope, 
    pdwCookie : uint
) : int

Parametri

  • pdwCookie
    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 textmgr.idl:

HRESULT IVsRegisterFindScope::RegisterFindScope(
   [in] IVsFindScope * pScope,
   [out] DWORD_PTR * pdwCookie
);

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IVsRegisterFindScope Interfaccia

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop