Partager via


FileSpec.Compare, méthode (String, String, Int32, Int32, Int32%, Int32%, Char, StringComparison)

Espace de noms :  Microsoft.TeamFoundation.Common
Assembly :  Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)

Syntaxe

'Déclaration
Public Shared Function Compare ( _
    item1 As String, _
    item2 As String, _
    item1Length As Integer, _
    item2Length As Integer, _
    <OutAttribute> ByRef item1ComparedLength As Integer, _
    <OutAttribute> ByRef item2ComparedLength As Integer, _
    slash As Char, _
    comparison As StringComparison _
) As Integer
public static int Compare(
    string item1,
    string item2,
    int item1Length,
    int item2Length,
    out int item1ComparedLength,
    out int item2ComparedLength,
    char slash,
    StringComparison comparison
)

Paramètres

Valeur de retour

Type : System.Int32

Sécurité .NET Framework

Voir aussi

Référence

FileSpec Classe

Compare, surcharge

Microsoft.TeamFoundation.Common, espace de noms