Share via


VersionControlPath.EqualsCaseSensitive Method

Checks two file paths for equality. Returns whether they are equal in a case-insensitive manner on every part of the path except for the last item in the path. The last item in the path is compared in a case-sensitive manner.

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

Syntax

'Declaration
Public Shared Function EqualsCaseSensitive ( _
    item1 As String, _
    item2 As String _
) As Boolean
public static bool EqualsCaseSensitive(
    string item1,
    string item2
)
public:
static bool EqualsCaseSensitive(
    String^ item1, 
    String^ item2
)
static member EqualsCaseSensitive : 
        item1:string * 
        item2:string -> bool
public static function EqualsCaseSensitive(
    item1 : String, 
    item2 : String
) : boolean

Parameters

Return Value

Type: System.Boolean
True if and only if they are equal in a case-sensitive comparison.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace