Modulus Method

SqlInt64.Modulus Method (SqlInt64, SqlInt64)


Divides two SqlInt64 values and returns the remainder.

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

public static SqlInt64 Modulus(
	SqlInt64 x,
	SqlInt64 y

Return Value

Type: System.Data.SqlTypes.SqlInt64

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
© 2016 Microsoft