SqlDouble.ToSqlInt16 SqlDouble.ToSqlInt16 SqlDouble.ToSqlInt16 SqlDouble.ToSqlInt16 Method

定义

将此 SqlDouble 结构转换为 SqlInt16Converts this SqlDouble structure to SqlInt16.

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

返回

一个新的 SqlInt16 结构,其 Value 等于 SqlDouble 结构值的整数部分。A new SqlInt16 structure whose Value equals the integer part of the SqlDouble structure's value.

适用于

另请参阅