SqlInt16::Modulus Method (SqlInt16, SqlInt16)

 

Divides two SqlInt16 values and returns the remainder.

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

public:
static SqlInt16 Modulus(
	SqlInt16 x,
	SqlInt16 y
)

Return Value

Type: System.Data.SqlTypes::SqlInt16

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

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

.NET Framework
Available since 2.0
Return to top
Show: