Share via


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.String

    The path to check (path must already be canonicalized).

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace