SqlDouble Explicit Conversion (SqlBoolean to SqlDouble)

 
equivalentCodeEntityM:System.Data.SqlTypes.SqlBoolean.ToSqlDouble

Converts the supplied SqlBoolean parameter to SqlDouble.

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

F# does not support this operator

Parameters

x
Type: System.Data.SqlTypes.SqlBoolean

The SqlBoolean to be converted.

Return Value

Type: System.Data.SqlTypes.SqlDouble

A new SqlDouble structure whose Value is either 0 or 1, depending on the ByteValue property of the SqlBoolean parameter. If the SqlBoolean is Null, the SqlDouble structure will be Null.

.NET Framework
Available since 1.1
Return to top
Show: