SqlInt32.Add(SqlInt32, SqlInt32) 方法

定义

计算两个指定的 SqlInt32 结构的和。Computes the sum of the two specified SqlInt32 structures.

public:
 static System::Data::SqlTypes::SqlInt32 Add(System::Data::SqlTypes::SqlInt32 x, System::Data::SqlTypes::SqlInt32 y);
public static System.Data.SqlTypes.SqlInt32 Add (System.Data.SqlTypes.SqlInt32 x, System.Data.SqlTypes.SqlInt32 y);
static member Add : System.Data.SqlTypes.SqlInt32 * System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlInt32
Public Shared Function Add (x As SqlInt32, y As SqlInt32) As SqlInt32

参数

x
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

y
SqlInt32

SqlInt32 结构。A SqlInt32 structure.

返回

一个 SqlInt32 结构,它的 Value 属性包含指定 SqlInt32 结构的和。A SqlInt32 structure whose Value property contains the sum of the specified SqlInt32 structures.

适用于

另请参阅