ValueTuple.IComparable.CompareTo(Object) Método
Definição
Compara essa instância ValueTuple com um objeto especificado e retorna uma indicação dos valores relativos.Compares this ValueTuple instance with a specified object and returns an indication of their relative values.
virtual int System.IComparable.CompareTo(System::Object ^ other) = IComparable::CompareTo;
int IComparable.CompareTo (object other);
abstract member System.IComparable.CompareTo : obj -> int
override this.System.IComparable.CompareTo : obj -> int
Function CompareTo (other As Object) As Integer Implements IComparable.CompareTo
Parâmetros
- other
- Object
O objeto a ser comparado com a instância atualThe object to compare with the current instance
Retornos
0 se other for uma instância ValueTuple; caso contrário, 1 se other for null.0 if other is a ValueTuple instance; otherwise, 1 if other is null.
Implementações
Exceções
other não é uma instância ValueTuple.other is not a ValueTuple instance.