Delen via


VersionControlPath.CompareCaseSensitive Method

Compares two Version Control item paths 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 CompareCaseSensitive ( _
    item1 As String, _
    item2 As String _
) As Integer
public static int CompareCaseSensitive(
    string item1,
    string item2
)
public:
static int CompareCaseSensitive(
    String^ item1, 
    String^ item2
)
static member CompareCaseSensitive : 
        item1:string * 
        item2:string -> int
public static function CompareCaseSensitive(
    item1 : String, 
    item2 : String
) : int

Parameters

Return Value

Type: System.Int32
0 if they are equal, greater than 0 if the first is greater, less than 0 if the second is greater.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace