Rediger

Del via


SqlInt32.Modulus(SqlInt32, SqlInt32) Method

Definition

Divides two SqlInt32 values and returns the remainder.

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

Parameters

x
SqlInt32

A SqlInt32 value.

y
SqlInt32

A SqlInt32 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 will be null.

Applies to

See also