SqlMoney Explicit Conversion (Double to SqlMoney)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlDouble.ToSqlMoney

This implicit operator converts the supplied SqlDouble parameter to SqlMoney.

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

public:
static explicit operator SqlMoney (
	double x
)

Parameters

x
Type: System::Double

The SqlDouble structure to be converted.

Return Value

Type: System.Data.SqlTypes::SqlMoney

A new SqlMoney structure whose Value property equals the ByteValue property of the SqlDouble parameter.

.NET Framework
Available since 2.0
Return to top
Show: