SqlSingle.Explicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts to and from a SqlSingle.
Overloads
Explicit(SqlBoolean to SqlSingle) |
This implicit operator converts the supplied SqlBoolean to SqlSingle. |
Explicit(SqlDouble to SqlSingle) | |
Explicit(SqlSingle to Single) |
Converts the specified SqlSingle structure to float. |
Explicit(SqlString to SqlSingle) |
Explicit(SqlBoolean to SqlSingle)
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
This implicit operator converts the supplied SqlBoolean to SqlSingle.
public:
static explicit operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlSingle
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlSingle
Parameters
The SqlBoolean structure to be converted.
Returns
A new SqlSingle structure whose Value is equal to the ByteValue of the SqlBoolean parameter.
Remarks
The equivalent method for this operator is SqlBoolean.ToSqlSingle()
See also
Applies to
Explicit(SqlDouble to SqlSingle)
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
public:
static explicit operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlSingle
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlSingle
Parameters
Returns
A new SqlSingle structure whose Value is equal to the Value of the SqlDouble parameter.
Remarks
The equivalent method for this operator is SqlDouble.ToSqlSingle()
See also
Applies to
Explicit(SqlSingle to Single)
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
Converts the specified SqlSingle structure to float.
public:
static explicit operator float(System::Data::SqlTypes::SqlSingle x);
public static explicit operator float (System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> single
Public Shared Narrowing Operator CType (x As SqlSingle) As Single
Parameters
Returns
A float that contains the value of the SqlSingle structure.
See also
Applies to
Explicit(SqlString to SqlSingle)
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
- Source:
- SQLSingle.cs
public:
static explicit operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlSingle
Public Shared Narrowing Operator CType (x As SqlString) As SqlSingle
Parameters
Returns
A new SqlSingle structure whose Value is equal to the value represented by the SqlString parameter.
Remarks
The equivalent method for this operator is SqlString.ToSqlSingle()