SqlSingle.Implicit Operator

Definition

Converts to a SqlSingle structure.

Overloads

Implicit(SqlByte to SqlSingle)

This implicit operator converts the SqlByte parameter to SqlSingle.

Implicit(SqlDecimal to SqlSingle)

Converts the supplied SqlDecimal parameter to SqlSingle.

Implicit(SqlInt16 to SqlSingle)

Converts the supplied SqlInt16 parameter to SqlSingle.

Implicit(SqlInt32 to SqlSingle)

Converts the supplied SqlInt32 structure to SqlSingle.

Implicit(SqlInt64 to SqlSingle)

Converts the supplied SqlInt64 parameter to SqlSingle.

Implicit(SqlMoney to SqlSingle)

Converts the supplied SqlMoney structure to SqlSingle.

Implicit(Single to SqlSingle)

Converts the specified floating point value to SqlSingle.

Implicit(SqlByte to SqlSingle)

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

This implicit operator converts the SqlByte parameter to SqlSingle.

C#
public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlByte x);

Parameters

x
SqlByte

The SqlByte to be converted.

Returns

A new SqlSingle structure whose Value property equals the Value of the SqlByte parameter.

Remarks

The equivalent method for this operator is SqlByte.ToSqlSingle()

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

Implicit(SqlDecimal to SqlSingle)

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

Converts the supplied SqlDecimal parameter to SqlSingle.

C#
public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlDecimal x);

Parameters

x
SqlDecimal

The SqlDecimal structure to be converted.

Returns

A new SqlSingle structure whose Value is equal to the Value of the SqlDecimal parameter.

Remarks

The equivalent method for this operator is SqlDecimal.ToSqlSingle()

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

Implicit(SqlInt16 to SqlSingle)

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

Converts the supplied SqlInt16 parameter to SqlSingle.

C#
public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlInt16 x);

Parameters

x
SqlInt16

The SqlInt16 structure to be converted.

Returns

A new SqlSingle structure whose Value is equal to the Value of the SqlInt16 parameter.

Remarks

The equivalent method for this operator is SqlInt16.ToSqlSingle()

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

Implicit(SqlInt32 to SqlSingle)

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

Converts the supplied SqlInt32 structure to SqlSingle.

C#
public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlInt32 x);

Parameters

x
SqlInt32

The SqlInt32 structure to be converted.

Returns

A new SqlSingle structure whose Value is equal to the Value of the SqlInt32 parameter.

Remarks

The equivalent method for this operator is SqlInt32.ToSqlSingle()

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

Implicit(SqlInt64 to SqlSingle)

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

Converts the supplied SqlInt64 parameter to SqlSingle.

C#
public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlInt64 x);

Parameters

x
SqlInt64

The SqlInt64 structure to be converted.

Returns

A new SqlSingle structure whose Value is equal to the Value of the SqlInt64 parameter.

Remarks

The equivalent method for this operator is SqlInt64.ToSqlSingle()

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

Implicit(SqlMoney to SqlSingle)

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

Converts the supplied SqlMoney structure to SqlSingle.

C#
public static implicit operator System.Data.SqlTypes.SqlSingle(System.Data.SqlTypes.SqlMoney x);

Parameters

x
SqlMoney

The SqlMoney structure to be converted.

Returns

A new SqlSingle structure whose Value is equal to the Value of the SqlMoney parameter.

Remarks

The equivalent method for this operator is SqlMoney.ToSqlSingle()

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

Implicit(Single to SqlSingle)

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

Converts the specified floating point value to SqlSingle.

C#
public static implicit operator System.Data.SqlTypes.SqlSingle(float x);

Parameters

x
Single

The float value to be converted to SqlSingle.

Returns

A SqlSingle structure that contains the value of the specified float.

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