VersionControlPath.PrependRootIfNeeded Method (String, PathLength)

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

Syntax

'Declaration
Public Shared Function PrependRootIfNeeded ( _
    folder As String, _
    maxPathLength As PathLength _
) As String
public static string PrependRootIfNeeded(
    string folder,
    PathLength maxPathLength
)
public:
static String^ PrependRootIfNeeded(
    String^ folder, 
    PathLength maxPathLength
)
static member PrependRootIfNeeded : 
        folder:string * 
        maxPathLength:PathLength -> string
public static function PrependRootIfNeeded(
    folder : String, 
    maxPathLength : PathLength
) : String

Parameters

Return Value

Type: System.String

.NET Framework Security

See Also

Reference

VersionControlPath Class

PrependRootIfNeeded Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace