SqlInt32 Explicit Conversion (SqlDecimal to SqlInt32)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlDecimal.ToSqlInt32

Converts the supplied SqlDecimal structure to SqlInt32.

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public:
static explicit operator SqlInt32 (
	SqlDecimal x
)

Parameters

x
Type: System.Data.SqlTypes::SqlDecimal

A SqlDecimal structure.

Return Value

Type: System.Data.SqlTypes::SqlInt32

A new SqlInt32 structure whose Value property equals the Value property of the SqlDecimal parameter.

.NET Framework
Available since 1.1
Return to top
Show: