SqlInt32 Explicit Conversion (SqlSingle to SqlInt32)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlSingle.ToSqlInt32

Converts the supplied SqlSingle to SqlInt32.

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

public:
static explicit operator SqlInt32 (
	SqlSingle x
)

Parameters

x
Type: System.Data.SqlTypes::SqlSingle

A SqlSingle structure.

Return Value

Type: System.Data.SqlTypes::SqlInt32

A new SqlInt32 structure whose Value property equals the integer part of the SqlSingle parameter.

.NET Framework
Available since 1.1
Return to top
Show: