IVsFinder.GetMatch, méthode

Obtient une correspondance textspan.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Function GetMatch ( _
    <OutAttribute> pts As TextSpan() _
) As Integer
int GetMatch(
    TextSpan[] pts
)
int GetMatch(
    [OutAttribute] array<TextSpan>^ pts
)
abstract GetMatch : 
        pts:TextSpan[] byref -> int
function GetMatch(
    pts : TextSpan[]
) : int

Paramètres

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textfind.idl :

HRESULT IVsFinder::GetMatch(
   [out, retval] TextSpan * pts
);

Sécurité .NET Framework

Voir aussi

Référence

IVsFinder Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms