Rule.CompareTo Method

Definition

Overloads

CompareTo(Rule)

Query whether this rule is less, greater, or equal to another rule instance.

CompareTo(Object)

Compare this rule object with another object

CompareTo(Rule)

Query whether this rule is less, greater, or equal to another rule instance.

public:
 virtual int CompareTo(Microsoft::VisualStudio::Modeling::Rule ^ other);
public int CompareTo (Microsoft.VisualStudio.Modeling.Rule other);
abstract member CompareTo : Microsoft.VisualStudio.Modeling.Rule -> int
override this.CompareTo : Microsoft.VisualStudio.Modeling.Rule -> int
Public Function CompareTo (other As Rule) As Integer

Parameters

other
Rule

Rule to compare

Returns

-1, 0, 1

Implements

Applies to

CompareTo(Object)

Compare this rule object with another object

public:
 virtual int CompareTo(System::Object ^ obj);
public int CompareTo (object obj);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (obj As Object) As Integer

Parameters

obj
Object

the object to compare it with

Returns

int

Implements

Applies to