VersionControlPath.CheckForIllegalDollarInPath Method
This method throws an InvalidPathException if there is a dollar sign ('$') that follows a path separator ('/'), because no part of a path can start with a dollar sign.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Shared Sub CheckForIllegalDollarInPath ( _
path As String _
)
public static void CheckForIllegalDollarInPath(
string path
)
public:
static void CheckForIllegalDollarInPath(
String^ path
)
static member CheckForIllegalDollarInPath :
path:string -> unit
public static function CheckForIllegalDollarInPath(
path : String
)
Parameters
path
Type: System.StringThe path to check (path must already be canonicalized).
.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.