Share via


VersionControlPath.CheckForIllegalDollarInPath 方法

這個方法會擲回 InvalidPathException,如果有錢幣符號 (「$」) 後面加上路徑分隔符號 (「/」),,因為路徑的組件不可以用貨幣符號。

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

語法

'宣告
Public Shared Sub CheckForIllegalDollarInPath ( _
    path As String _
)
public static void CheckForIllegalDollarInPath(
    string path
)

參數

  • path
    類型:System.String
    要檢查的路徑 (必須已標準化路徑)。

.NET Framework 安全性

請參閱

參考

VersionControlPath 類別

Microsoft.TeamFoundation.VersionControl.Common 命名空間