SqlSingle Constructors

Definition

Initializes a new instance of the SqlSingle structure using the supplied floating point value.

Overloads

SqlSingle(Double)

Initializes a new instance of the SqlSingle structure using the supplied double parameter.

SqlSingle(Single)

Initializes a new instance of the SqlSingle structure.

SqlSingle(Double)

Source:
SQLSingle.cs
Source:
SQLSingle.cs
Source:
SQLSingle.cs

Initializes a new instance of the SqlSingle structure using the supplied double parameter.

C#
public SqlSingle(double value);

Parameters

value
Double

A double value which will be used as the Value of the new SqlSingle structure.

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

SqlSingle(Single)

Source:
SQLSingle.cs
Source:
SQLSingle.cs
Source:
SQLSingle.cs

Initializes a new instance of the SqlSingle structure.

C#
public SqlSingle(float value);

Parameters

value
Single

A floating point number which will be used as the Value of the new SqlSingle structure.

See also

Applies to

.NET 10 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1