SqlInt32 Explicit Conversion (SqlInt64 to SqlInt32)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlInt64.ToSqlInt32

Converts the supplied SqlInt64 to SqlInt32.

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

public:
static explicit operator SqlInt32 (
	SqlInt64 x
)

Parameters

x
Type: System.Data.SqlTypes::SqlInt64

A SqlInt64 structure.

Return Value

Type: System.Data.SqlTypes::SqlInt32

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

.NET Framework
Available since 1.1
Return to top
Show: