Share via


VersionControlPath.GetFolderName Method

Gets the parent folder for the specified canonicalized path. If "$/" is passed, "$/" is returned as the parent.

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)

Syntax

'Declaration
Public Shared Function GetFolderName ( _
    item As String _
) As String
public static string GetFolderName(
    string item
)
public:
static String^ GetFolderName(
    String^ item
)
static member GetFolderName : 
        item:string -> string
public static function GetFolderName(
    item : String
) : String

Parameters

Return Value

Type: System.String
The parent folder.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace