SqlInt32.Modulus(SqlInt32, SqlInt32) 运算符

定义

计算将第一个 SqlInt32 参数除以第二个参数后所得的余数。Computes the remainder after dividing the first SqlInt32 parameter by the second.

public:
 static System::Data::SqlTypes::SqlInt32 operator %(System::Data::SqlTypes::SqlInt32 x, System::Data::SqlTypes::SqlInt32 y);
public static System.Data.SqlTypes.SqlInt32 operator % (System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y);
static member ( % ) : System.Data.SqlTypes.SqlInt32 * System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlInt32
Public Shared Operator Mod (x As SqlInt32, y As SqlInt32) As SqlInt32

参数

x
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

y
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

返回

一个 SqlInt32 结构,它的 Value 包含该余数。A SqlInt32 structure whose Value contains the remainder.

注解

此运算符的等效方法是 SqlInt32.Mod(SqlInt32, SqlInt32)The equivalent method for this operator is SqlInt32.Mod(SqlInt32, SqlInt32)

适用于

另请参阅