Range.CompareTo(Range) 方法

定义

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

参数

other
Range

返回

Int32

实现

适用于