SqlInt32.Modulus Method (SqlInt32, SqlInt32)


Divides two SqlInt32 values and returns the remainder.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlInt32 Modulus(
	SqlInt32 x,
	SqlInt32 y

Return Value

Type: System.Data.SqlTypes.SqlInt32

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

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

.NET Framework
Available since 2.0
Return to top