SqlSingle.ToSqlInt16 方法

定義

將這個 SqlSingle 結構轉換為 SqlInt16Converts this SqlSingle 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

新的 SqlInt16,等於這個 SqlSingle 的值。A new SqlInt16 equal to the value of this SqlSingle.

適用於

另請參閱