Udostępnij za pośrednictwem


Metoda Rule.CompareTo — (Rule)

Porównuje regułę do innej reguły, według ich identyfikatorów.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Składnia

'Deklaracja
Public Function CompareTo ( _
    other As Rule _
) As Integer
public int CompareTo(
    Rule other
)

Parametry

Wartość zwracana

Typ: System.Int32
Porównuje identyfikatory dwie reguły.

Implementuje

IComparable<T>.CompareTo(T)

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Rule Klasa

Przeciążenie CompareTo

Przestrzeń nazw Microsoft.VisualStudio.Modeling