Condividi tramite


VersionControlPath.Compare Method (String, String, Int32, Int32)

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

Syntax

'Dichiarazione
Public Shared Function Compare ( _
    item1 As String, _
    item2 As String, _
    item1Length As Integer, _
    item2Length As Integer _
) As Integer
public static int Compare(
    string item1,
    string item2,
    int item1Length,
    int item2Length
)
public:
static int Compare(
    String^ item1, 
    String^ item2, 
    int item1Length, 
    int item2Length
)
static member Compare : 
        item1:string * 
        item2:string * 
        item1Length:int * 
        item2Length:int -> int 
public static function Compare(
    item1 : String, 
    item2 : String, 
    item1Length : int, 
    item2Length : int
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

VersionControlPath Class

Compare Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace