Share via


VersionControlPath.IsCanonicalizedPath Method (String, Boolean, PathLength)

Returns true if the path is canonicalized. The path must not contain a $ at the beginning of a path part, or any illegal characters.

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

Syntax

'Declaration
Public Shared Function IsCanonicalizedPath ( _
    serverItem As String, _
    allowSemicolon As Boolean, _
    maxPathLength As PathLength _
) As Boolean
public static bool IsCanonicalizedPath(
    string serverItem,
    bool allowSemicolon,
    PathLength maxPathLength
)
public:
static bool IsCanonicalizedPath(
    String^ serverItem, 
    bool allowSemicolon, 
    PathLength maxPathLength
)
static member IsCanonicalizedPath : 
        serverItem:string * 
        allowSemicolon:bool * 
        maxPathLength:PathLength -> bool
public static function IsCanonicalizedPath(
    serverItem : String, 
    allowSemicolon : boolean, 
    maxPathLength : PathLength
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

VersionControlPath Class

IsCanonicalizedPath Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace