SqlSingle.Explicit SqlSingle.Explicit SqlSingle.Explicit SqlSingle.Explicit Operator

Definition

Overloads

Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle)

This implicit operator converts the supplied SqlBoolean to SqlSingle.

Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle)

Converts the supplied SqlDouble parameter to SqlSingle.

Explicit(SqlSingle to Single) Explicit(SqlSingle to Single) Explicit(SqlSingle to Single) Explicit(SqlSingle to Single)

Converts the specified SqlSingle structure to float.

Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle)

Converts the supplied SqlString parameter to SqlSingle.

Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle) Explicit(SqlBoolean to SqlSingle)

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

x
SqlBoolean SqlBoolean SqlBoolean SqlBoolean

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

Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle) Explicit(SqlDouble to SqlSingle)

Converts the supplied SqlDouble parameter to SqlSingle.

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

x
SqlDouble SqlDouble SqlDouble SqlDouble

The SqlDouble parameter to be converted.

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

Explicit(SqlSingle to Single) Explicit(SqlSingle to Single) Explicit(SqlSingle to Single) Explicit(SqlSingle to Single)

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

x
SqlSingle SqlSingle SqlSingle SqlSingle

The SqlSingle value to be converted to float.

Returns

A float that contains the value of the SqlSingle structure.

See also

Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle) Explicit(SqlString to SqlSingle)

Converts the supplied SqlString parameter to SqlSingle.

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

x
SqlString SqlString SqlString SqlString

The SqlString object to be converted.

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()

See also

Applies to