IndexComparer.Compare Méthode

Définition

Surcharges

Compare(IIndex, IIndex)

Compare deux objets et retourne une valeur indiquant si le premier est inférieur, égal ou supérieur au second.

Compare(IReadOnlyIndex, IReadOnlyIndex)

Compare deux objets et retourne une valeur indiquant si le premier est inférieur, égal ou supérieur au second.

Compare(IIndex, IIndex)

Compare deux objets et retourne une valeur indiquant si le premier est inférieur, égal ou supérieur au second.

public int Compare (Microsoft.EntityFrameworkCore.Metadata.IIndex x, Microsoft.EntityFrameworkCore.Metadata.IIndex y);
abstract member Compare : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex -> int
override this.Compare : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.IIndex -> int
Public Function Compare (x As IIndex, y As IIndex) As Integer

Paramètres

x
IIndex

Premier objet à comparer.

y
IIndex

Deuxième objet à comparer.

Retours

Nombre négatif si 'x' est inférieur à 'y'; un nombre positif si « x » est supérieur à « y » ; zéro dans le cas contraire.

Implémente

S’applique à

Compare(IReadOnlyIndex, IReadOnlyIndex)

Compare deux objets et retourne une valeur indiquant si le premier est inférieur, égal ou supérieur au second.

public int Compare (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? x, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex? y);
abstract member Compare : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex -> int
override this.Compare : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex -> int
Public Function Compare (x As IReadOnlyIndex, y As IReadOnlyIndex) As Integer

Paramètres

x
IReadOnlyIndex

Premier objet à comparer.

y
IReadOnlyIndex

Deuxième objet à comparer.

Retours

Nombre négatif si 'x' est inférieur à 'y'; un nombre positif si « x » est supérieur à « y » ; zéro dans le cas contraire.

Implémente

S’applique à