Freigeben über


VersionControlPath.IsValidPath Method (String, PathLength)

Returns true if path is valid; false otherwise

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

VersionControlPath Class

IsValidPath Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace