SqlDecimal.ToSqlMoney SqlDecimal.ToSqlMoney SqlDecimal.ToSqlMoney SqlDecimal.ToSqlMoney Method

定义

将此 SqlDecimal 结构转换为 SqlMoneyConverts this SqlDecimal structure to SqlMoney.

public:
 System::Data::SqlTypes::SqlMoney ToSqlMoney();
public System.Data.SqlTypes.SqlMoney ToSqlMoney ();
member this.ToSqlMoney : unit -> System.Data.SqlTypes.SqlMoney
Public Function ToSqlMoney () As SqlMoney

返回

一个 SqlMoney 结构,其值与此 SqlDecimal 实例的值相同。A SqlMoney structure with the same value as this instance of SqlDecimal.

适用于

另请参阅