VersionControlPath.IsCanonicalizedPath Method (String, Boolean)
Returns true if the path is canonicalized. The path must not contain a $ at the start of a path part, or any invalid 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 _
) As Boolean
public static bool IsCanonicalizedPath(
string serverItem,
bool allowSemicolon
)
public:
static bool IsCanonicalizedPath(
String^ serverItem,
bool allowSemicolon
)
static member IsCanonicalizedPath :
serverItem:string *
allowSemicolon:bool -> bool
public static function IsCanonicalizedPath(
serverItem : String,
allowSemicolon : boolean
) : boolean
Parameters
- serverItem
Type: System.String
- allowSemicolon
Type: System.Boolean
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.