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
pScope
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsFindScope[in]
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
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per altre informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.