Modulus Method

SqlByte.Modulus Method (SqlByte, SqlByte)


Divides two SqlByte values and returns the remainder.

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

public static SqlByte Modulus(
	SqlByte x,
	SqlByte y

Return Value

Type: System.Data.SqlTypes.SqlByte

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