SqlDouble.ToSqlBoolean Method ()


Converts this SqlDouble structure to SqlBoolean.

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

public SqlBoolean ToSqlBoolean()

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A SqlBoolean structure whose Value will be True if the SqlDouble structure's Value is non-zero, False if the SqlDouble is zero and Null if the SqlDouble structure is Null.

.NET Framework
Available since 1.1
Return to top