SqlInt32::Subtraction Operator (SqlInt32, SqlInt32)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlInt32.Subtract(System.Data.SqlTypes.SqlInt32,System.Data.SqlTypes.SqlInt32)

Subtracts the second SqlInt32 parameter from the first.

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

public:
static SqlInt32 operator -(
	SqlInt32 x,
	SqlInt32 y
)

Parameters

x
Type: System.Data.SqlTypes::SqlInt32

A SqlInt32 structure.

y
Type: System.Data.SqlTypes::SqlInt32

A SqlInt32 structure.

Return Value

Type: System.Data.SqlTypes::SqlInt32

A SqlInt32 structure whose Value property contains the results of the subtraction.

.NET Framework
Available since 1.1
Return to top
Show: