Compartilhar via


IModulusOperators<TSelf,TOther,TResult>.Modulus(TSelf, TOther) Operador

Definição

Divide dois valores juntos para calcular seu módulo ou resto.

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 Mod (left As TSelf, right As TOther) As TResult

Parâmetros

left
TSelf

O valor que right divide.

right
TOther

O valor que divide left.

Retornos

TResult

O módulo ou o restante de left dividido por right.

Aplica-se a