SqlInt32.ToSqlInt16 方法

定义

将此 SqlInt32 结构转换为 SqlInt16Converts this SqlInt32 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 结构等于此 SqlInt32 的值。A new SqlInt16 structure equal to the value of this SqlInt32.

适用于

另请参阅