Επεξεργασία

Κοινή χρήση μέσω


SqlInt16.Modulus(SqlInt16, SqlInt16) Method

Definition

Divides two SqlInt16 values and returns the remainder.

public:
 static System::Data::SqlTypes::SqlInt16 Modulus(System::Data::SqlTypes::SqlInt16 x, System::Data::SqlTypes::SqlInt16 y);
public static System.Data.SqlTypes.SqlInt16 Modulus (System.Data.SqlTypes.SqlInt16 x, System.Data.SqlTypes.SqlInt16 y);
static member Modulus : System.Data.SqlTypes.SqlInt16 * System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlInt16
Public Shared Function Modulus (x As SqlInt16, y As SqlInt16) As SqlInt16

Parameters

x
SqlInt16

A SqlInt16 value.

y
SqlInt16

A SqlInt16 value.

Returns

The remainder left after division is performed on x and y.

Remarks

If either instance of x or y is null, the value is null.

Applies to

See also