SqlInt16::Subtraction Operator (SqlInt16, SqlInt16)

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

Subtracts the second SqlInt16 parameter from the first.

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

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

Parameters

x
Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure.

y
Type: System.Data.SqlTypes::SqlInt16

A SqlInt16 structure.

Return Value

Type: System.Data.SqlTypes::SqlInt16

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

.NET Framework
Available since 1.1
Return to top
Show: