SqlDecimal.ToSqlInt16 SqlDecimal.ToSqlInt16 SqlDecimal.ToSqlInt16 SqlDecimal.ToSqlInt16 Method

定义

将此 SqlDecimal 结构转换为 SqlInt16Converts this SqlDecimal 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 结构,其值与此 SqlDecimal 实例的值相同。A SqlInt16 structure with the same value as this instance of SqlDecimal.

适用于

另请参阅