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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。