SqlDouble Narrowing Conversion (SqlBoolean to SqlDouble)

 
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.SqlBoolean.ToSqlDouble

Converts the supplied SqlBoolean parameter to SqlDouble.

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

Public Shared Narrowing Operator CType (
	x As SqlBoolean
) As SqlDouble

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: