SqlInt32 Explicit Conversion (SqlBoolean to SqlInt32)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlBoolean.ToSqlInt32

Converts the supplied SqlBoolean to SqlInt32.

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

public:
static explicit operator SqlInt32 (
	SqlBoolean x
)

Parameters

x
Type: System.Data.SqlTypes::SqlBoolean

A SqlBoolean structure.

Return Value

Type: System.Data.SqlTypes::SqlInt32

A new SqlInt32 structure whose Value property is equal to the ByteValue property of the SqlBoolean parameter.

.NET Framework
Available since 1.1
Return to top
Show: