IVsFinder.Find, méthode

Recherche une image de texte dans une étendue de texte.

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

Syntaxe

'Déclaration
Function Find ( _
    grfFindHow As UInteger, _
    <OutAttribute> ptsMatch As TextSpan(), _
    <OutAttribute> ByRef pgrfResult As UInteger _
) As Integer
int Find(
    uint grfFindHow,
    TextSpan[] ptsMatch,
    out uint pgrfResult
)
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
function Find(
    grfFindHow : uint, 
    ptsMatch : TextSpan[], 
    pgrfResult : uint
) : int

Paramètres

  • grfFindHow
    Type : UInt32

    [in] instruction pour la recherche. Des valeurs sont prises de l'énumération d'__VSFINDHOW.

  • pgrfResult
    Type : UInt32%

    [] balises de résultat.

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::Find(
   [in] VSFINDHOW grfFindHow,
   [in, out] TextSpan * ptsMatch,
   [out] BOOL pgrfResult
);

Sécurité .NET Framework

Voir aussi

Référence

IVsFinder Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms