Método IVsFinder.GetTaggedSpans
Retorna textspans com marcas de formatação.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
Function GetTaggedSpans ( _
<OutAttribute> ByRef ppTags As IVsTextSpanSet _
) As Integer
int GetTaggedSpans(
out IVsTextSpanSet ppTags
)
int GetTaggedSpans(
[OutAttribute] IVsTextSpanSet^% ppTags
)
abstract GetTaggedSpans :
ppTags:IVsTextSpanSet byref -> int
function GetTaggedSpans(
ppTags : IVsTextSpanSet
) : int
Parâmetros
ppTags
Tipo: Microsoft.VisualStudio.TextManager.Interop.IVsTextSpanSet%[out] Regex marcados expressões. Requires VSFH_SetMatch on Find.
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::GetTaggedSpans(
[out, retval] IVsTextSpanSet ** ppTags
);
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.