Edit

Share via


SqlBoolean.ToSqlDouble Method

Definition

Converts this SqlBoolean structure to SqlDouble.

public:
 System::Data::SqlTypes::SqlDouble ToSqlDouble();
public System.Data.SqlTypes.SqlDouble ToSqlDouble ();
member this.ToSqlDouble : unit -> System.Data.SqlTypes.SqlDouble
Public Function ToSqlDouble () As SqlDouble

Returns

A new SqlDouble structure whose value is 1 or 0. If the SqlBoolean structure's value equals true then the new SqlDouble structure's value is 1. Otherwise, the new SqlDouble structure's value is 0.

Applies to

See also