Compartilhar via


IComparisonOperators<TSelf,TOther,TResult>.LessThanOrEqual Operador

Definição

Compara dois valores para determinar qual é menor ou igual.

public:
 static TResult operator <=(TSelf left, TOther right);
public static abstract TResult operator <= (TSelf left, TOther right);
static member ( <= ) : 'Self * 'Other -> 'Result
Public Shared Operator <= (left As TSelf, right As TOther) As TResult

Parâmetros

left
TSelf

O valor a ser comparado com right.

right
TOther

O valor a ser comparado com left.

Retornos

TResult

true se left for menor ou igual a right; caso contrário, false.

Aplica-se a