Επεξεργασία

Κοινή χρήση μέσω


SqlSingle.Explicit Operator

Definition

Converts to and from a SqlSingle.

Overloads

Explicit(SqlBoolean to SqlSingle)

This implicit operator converts the supplied SqlBoolean to SqlSingle.

Explicit(SqlDouble to SqlSingle)

Converts the supplied SqlDouble parameter to SqlSingle.

Explicit(SqlSingle to Single)

Converts the specified SqlSingle structure to float.

Explicit(SqlString to SqlSingle)

Converts the supplied SqlString parameter 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

x
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

Applies to

Explicit(SqlDouble to SqlSingle)

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

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

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

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

x
SqlSingle

The SqlSingle value to be converted to float.

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

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

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