แก้ไข

แชร์ผ่าน


SqlDecimal.Subtract(SqlDecimal, SqlDecimal) Method

Definition

Calculates the results of subtracting the second SqlDecimal operand from the first.

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

Parameters

x
SqlDecimal

A SqlDecimal structure.

y
SqlDecimal

A SqlDecimal structure.

Returns

A new SqlDecimal structure whose Value property contains the results of the subtraction.

Applies to

See also