Compartir a través de


IVsFinder.SetScope (Método)

Limita la búsqueda al conjunto de intervalos.

Espacio de nombres:  Microsoft.VisualStudio.TextManager.Interop
Ensamblado:  Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxis

'Declaración
Function SetScope ( _
    pSpanScope As IVsTextSpanSet _
) As Integer
int SetScope(
    IVsTextSpanSet pSpanScope
)
int SetScope(
    [InAttribute] IVsTextSpanSet^ pSpanScope
)
abstract SetScope : 
        pSpanScope:IVsTextSpanSet -> int
function SetScope(
    pSpanScope : IVsTextSpanSet
) : int

Parámetros

Valor devuelto

Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.

Comentarios

Prototipo COM

de textfind.idl:

HRESULT IVsFinder::SetScope(
   [in] IVsTextSpanSet * pSpanScope
);

establezca pSpanScope a nullreferencia null (Nothing en Visual Basic) para buscar imagen completa. Es un error para establecer un ámbito cuando no hay ninguna imagen asociada

Seguridad de .NET Framework

Vea también

Referencia

IVsFinder Interfaz

Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)