SqlDecimal Implicit Conversion (SqlMoney to SqlDecimal)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlMoney.ToSqlDecimal

Converts the SqlMoney operand to SqlDecimal.

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

public static implicit operator SqlDecimal (
	SqlMoney x
)

Parameters

x
Type: System.Data.SqlTypes.SqlMoney

The SqlMoney structure to be converted.

Return Value

Type: System.Data.SqlTypes.SqlDecimal

A new SqlDecimal structure whose Value equals the Value of the SqlMoney parameter.

.NET Framework
Available since 1.1
Return to top
Show: