SqlDecimal Explicit Conversion (SqlDecimal to Decimal)

 

Converts the SqlDecimal parameter to Decimal.

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

public:
static explicit operator Decimal (
	SqlDecimal x
)

Parameters

x
Type: System.Data.SqlTypes::SqlDecimal

The SqlDecimal structure to be converted.

Return Value

Type: System::Decimal

A new Decimal structure whose value equals the Value of the SqlDecimal parameter.

.NET Framework
Available since 1.1
Return to top
Show: