SqlDouble.ToSqlDecimal SqlDouble.ToSqlDecimal SqlDouble.ToSqlDecimal SqlDouble.ToSqlDecimal Method

定义

将此 SqlDouble 结构转换为 SqlDecimalConverts this SqlDouble structure to SqlDecimal.

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

返回

一个新的 SqlDecimal 结构,其转换后的值等于此 SqlDouble 的舍入值。A new SqlDecimal structure whose converted value equals the rounded value of this SqlDouble.

适用于

另请参阅