SqlSingle 建構函式

定義

使用提供的浮點數值,初始化 SqlSingle 結構的新執行個體。Initializes a new instance of the SqlSingle structure using the supplied floating point value.

多載

SqlSingle(Double)

使用提供的雙精度浮點數 (Double) 參數,初始化 SqlSingle 結構的新執行個體。Initializes a new instance of the SqlSingle structure using the supplied double parameter.

SqlSingle(Single)

初始化 SqlSingle 結構的新執行個體。Initializes a new instance of the SqlSingle structure.

SqlSingle(Double)

使用提供的雙精度浮點數 (Double) 參數,初始化 SqlSingle 結構的新執行個體。Initializes a new instance of the SqlSingle structure using the supplied double parameter.

public:
 SqlSingle(double value);
public SqlSingle (double value);
new System.Data.SqlTypes.SqlSingle : double -> System.Data.SqlTypes.SqlSingle
Public Sub New (value As Double)

參數

value
Double

雙精度浮點數值,將用來做為新 Value 結構的 SqlSingleA double value which will be used as the Value of the new SqlSingle structure.

另請參閱

SqlSingle(Single)

初始化 SqlSingle 結構的新執行個體。Initializes a new instance of the SqlSingle structure.

public:
 SqlSingle(float value);
public SqlSingle (float value);
new System.Data.SqlTypes.SqlSingle : single -> System.Data.SqlTypes.SqlSingle
Public Sub New (value As Single)

參數

value
Single

浮點數值,將用來做為新 Value 結構的 SqlSingleA floating point number which will be used as the Value of the new SqlSingle structure.

另請參閱

適用於