VersionControlPath.IsValidPath Method (String)
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 _
) As Boolean
public static bool IsValidPath(
string serverItem
)
public:
static bool IsValidPath(
String^ serverItem
)
static member IsValidPath :
serverItem:string -> bool
public static function IsValidPath(
serverItem : String
) : boolean
Parameters
- serverItem
Type: System.String
Return Value
Type: System.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.