SqlInt16.ToSqlSingle 方法

定义

将此 SqlInt16 结构转换为 SqlSingleConverts this SqlInt16 structure to SqlSingle.

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

返回

一个新 SqlSingle 结构,其 Value 等于此 SqlInt16 结构的值。A new SqlSingle structure whose Value equals the value of this SqlInt16 structure.

适用于

另请参阅