SqlMoney.ToDecimal SqlMoney.ToDecimal SqlMoney.ToDecimal SqlMoney.ToDecimal Method

定义

SqlMoney 的此实例的值转换为 Decimal 结构。Converts the Value of this instance of SqlMoney as a Decimal structure.

public:
 System::Decimal ToDecimal();
public decimal ToDecimal ();
member this.ToDecimal : unit -> decimal
Public Function ToDecimal () As Decimal

返回

一个 Decimal 结构,它的值等于此 Value 结构的 SqlMoney 属性。A Decimal structure whose value equals the Value property of this SqlMoney structure.

适用于

另请参阅