SqlBoolean Explicit Conversion (SqlDouble to SqlBoolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Data.SqlTypes.SqlDouble.ToSqlBoolean

Converts the SqlDouble parameter to a SqlBoolean structure.

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

public static explicit operator SqlBoolean (
	SqlDouble x
)

Parameters

x
Type: System.Data.SqlTypes.SqlDouble

A SqlDouble to be converted to a SqlBoolean structure.

Return Value

Type: System.Data.SqlTypes.SqlBoolean

A new SqlBoolean structure whose value equals the Value property of the SqlDouble parameter.

.NET Framework
Available since 1.1
Return to top
Show: