Partilhar via


Método IVsFinder.GetMatchedSpans

Obtém correspondente textspans.

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

Sintaxe

'Declaração
Function GetMatchedSpans ( _
    <OutAttribute> ByRef ppSpans As IVsTextSpanSet _
) As Integer
int GetMatchedSpans(
    out IVsTextSpanSet ppSpans
)
int GetMatchedSpans(
    [OutAttribute] IVsTextSpanSet^% ppSpans
)
abstract GetMatchedSpans : 
        ppSpans:IVsTextSpanSet byref -> int
function GetMatchedSpans(
    ppSpans : IVsTextSpanSet
) : int

Parâmetros

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::GetMatchedSpans(
   [out, retval] IVsTextSpanSet ** ppSpans
);

Segurança do .NET Framework

Consulte também

Referência

IVsFinder Interface

Namespace Microsoft.VisualStudio.TextManager.Interop