Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- serverItem
Type: System.String
- 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.