SqlDouble Implicit Conversion (SqlDecimal to SqlDouble)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlDecimal.ToSqlDouble

Converts the supplied SqlDecimal parameter to SqlDouble.

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

public:
static operator SqlDouble (
	SqlDecimal x
)

Parameters

x
Type: System.Data.SqlTypes::SqlDecimal

A SqlDecimal structure.

Return Value

Type: System.Data.SqlTypes::SqlDouble

A new SqlDouble structure whose Value is equal to the Value of the SqlDecimal parameter. If the SqlDecimal is Null, the SqlDouble structure will be Null.

.NET Framework
Available since 1.1
Return to top
Show: