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
item
Type: System.StringPath to get the parent folder for.
Return Value
Type: System.String
The parent folder.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.