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
- serverItem
Type: System.String
- allowSemicolon
Type: System.Boolean
- maxPathLength
Type: Microsoft.TeamFoundation.VersionControl.Common.PathLength
Return Value
Type: System.Boolean
Returns Boolean.
.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.