VersionControlPath.MatchFileName 方法

符合指定之項目的最終元件套用至指定的萬用字元。

命名空間:  Microsoft.TeamFoundation.VersionControl.Common
組件:  Microsoft.TeamFoundation.VersionControl.Common (在 Microsoft.TeamFoundation.VersionControl.Common.dll 中)

語法

'宣告
Public Shared Function MatchFileName ( _
    item As String, _
    matchPattern As String _
) As Boolean
public static bool MatchFileName(
    string item,
    string matchPattern
)

參數

傳回值

類型:System.Boolean
如果這個萬用字元相符,則為 true。

.NET Framework 安全性

請參閱

參考

VersionControlPath 類別

Microsoft.TeamFoundation.VersionControl.Common 命名空間