SqlDecimal.ToSqlInt32 方法

定义

将此 SqlDecimal 结构转换为 SqlInt32Converts this SqlDecimal structure to SqlInt32.

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

返回

一个 SqlInt32 结构,其值与此 SqlDecimal 实例的值相同。A SqlInt32 structure with the same value as this instance of SqlDecimal.

适用于

另请参阅