Share via


VersionControlPath.MatchFileName, méthode

Correspond exactement le dernier composant de l'élément spécifié au caractère générique spécifié.

Espace de noms :  Microsoft.TeamFoundation.VersionControl.Common
Assembly :  Microsoft.TeamFoundation.VersionControl.Common (dans Microsoft.TeamFoundation.VersionControl.Common.dll)

Syntaxe

'Déclaration
Public Shared Function MatchFileName ( _
    item As String, _
    matchPattern As String _
) As Boolean
public static bool MatchFileName(
    string item,
    string matchPattern
)

Paramètres

  • item
    Type : System.String
    Chemin d'accès complet à correspondre.
  • matchPattern
    Type : System.String
    Caractère générique à rechercher.

Valeur de retour

Type : System.Boolean
True si le caractère générique correspond.

Sécurité .NET Framework

Voir aussi

Référence

VersionControlPath Classe

Microsoft.TeamFoundation.VersionControl.Common, espace de noms