Freigeben über


Range.CompareTo(Range) Method

Definition

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.

public:
 virtual int CompareTo(Microsoft::VisualStudio::RpcContracts::Utilities::Range other);
public int CompareTo (Microsoft.VisualStudio.RpcContracts.Utilities.Range other);
abstract member CompareTo : Microsoft.VisualStudio.RpcContracts.Utilities.Range -> int
override this.CompareTo : Microsoft.VisualStudio.RpcContracts.Utilities.Range -> int
Public Function CompareTo (other As Range) As Integer

Parameters

other
Range

Returns

Implements

Applies to