VersionControlPath.GetFileName 方法

傳回標準化路徑的最後路徑元件。 例如,將「$/abc/xyz」將傳回「xyz」。 將「$」會傳回""。

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

語法

'宣告
Public Shared Function GetFileName ( _
    item As String _
) As String
public static string GetFileName(
    string item
)

參數

傳回值

類型:System.String

.NET Framework 安全性

請參閱

參考

VersionControlPath 類別

Microsoft.TeamFoundation.VersionControl.Common 命名空間