VersionControlPath.Match, méthode

Comparez un élément pour voir s'il correspond à un dossier et un nom qui peuvent être un masque.Si récursif est vrai sur tout élément correspondant dans le matchFolder correspondra.La concordance par caractère générique est effectuée à l'aide de les règles de recherche de système de fichiers NT.

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

Syntaxe

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

Paramètres

  • matchFolder
    Type : System.String
    Répertoire de correspondance sur.
  • recursive
    Type : System.Boolean
    Si la correspondance a lieu de manière récursive.

Valeur de retour

Type : System.Boolean
true si l'élément correspond, false.

Sécurité .NET Framework

Voir aussi

Référence

VersionControlPath Classe

Microsoft.TeamFoundation.VersionControl.Common, espace de noms