Método VsFinderClass.Find
Localiza uma imagem de texto dentro de uma extensão do texto.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)
Sintaxe
'Declaração
Public Overridable Function Find ( _
grfFindHow As UInteger, _
<OutAttribute> ptsMatch As TextSpan(), _
<OutAttribute> ByRef pgrfResult As UInteger _
) As Integer
public virtual int Find(
uint grfFindHow,
TextSpan[] ptsMatch,
out uint pgrfResult
)
public:
virtual int Find(
[InAttribute] unsigned int grfFindHow,
[InAttribute] [OutAttribute] array<TextSpan>^ ptsMatch,
[OutAttribute] unsigned int% pgrfResult
)
abstract Find :
grfFindHow:uint32 *
ptsMatch:TextSpan[] byref *
pgrfResult:uint32 byref -> int
override Find :
grfFindHow:uint32 *
ptsMatch:TextSpan[] byref *
pgrfResult:uint32 byref -> int
public function Find(
grfFindHow : uint,
ptsMatch : TextSpan[],
pgrfResult : uint
) : int
Parâmetros
grfFindHow
Tipo: UInt32[in] Instruções para a pesquisa. Valores são obtidas a partir do __VSFINDHOW enumeração.
ptsMatch
Tipo: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[][in]
pgrfResult
Tipo: UInt32%[out] Sinalizadores de resultado.
Valor de retorno
Tipo: Int32
Implementações
IVsFinder.Find(UInt32, array<TextSpan[], UInt32%)
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.