SqlSingle.Implicit 運算子

定義

轉換為 SqlSingle 結構。Converts to a SqlSingle structure.

多載

Implicit(Single to SqlSingle)

將指定的浮點數值轉換成 SqlSingleConverts the specified floating point value to SqlSingle.

Implicit(SqlMoney to SqlSingle)

將提供的 SqlMoney 結構轉換成 SqlSingleConverts the supplied SqlMoney structure to SqlSingle.

Implicit(SqlInt64 to SqlSingle)

將提供的 SqlInt64 參數轉換成 SqlSingleConverts the supplied SqlInt64 parameter to SqlSingle.

Implicit(SqlByte to SqlSingle)

這個隱含運算子會將 SqlByte 參數轉換成 SqlSingleThis implicit operator converts the SqlByte parameter to SqlSingle.

Implicit(SqlInt16 to SqlSingle)

將提供的 SqlInt16 參數轉換成 SqlSingleConverts the supplied SqlInt16 parameter to SqlSingle.

Implicit(SqlDecimal to SqlSingle)

將提供的 SqlDecimal 參數轉換成 SqlSingleConverts the supplied SqlDecimal parameter to SqlSingle.

Implicit(SqlInt32 to SqlSingle)

將提供的 SqlInt32 結構轉換成 SqlSingleConverts the supplied SqlInt32 structure to SqlSingle.

Implicit(Single to SqlSingle)

將指定的浮點數值轉換成 SqlSingleConverts the specified floating point value to SqlSingle.

public:
 static operator System::Data::SqlTypes::SqlSingle(float x);
public static implicit operator System.Data.SqlTypes.SqlSingle (float x);
static member op_Implicit : single -> System.Data.SqlTypes.SqlSingle
Public Shared Widening Operator CType (x As Single) As SqlSingle

參數

x
Single

要被轉換成 SqlSingle 的浮點數值。The float value to be converted to SqlSingle.

傳回

SqlSingle 結構,包含指定的浮點數的值。A SqlSingle structure that contains the value of the specified float.

另請參閱

Implicit(SqlMoney to SqlSingle)

將提供的 SqlMoney 結構轉換成 SqlSingleConverts the supplied SqlMoney structure to SqlSingle.

public:
 static operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlMoney x);
public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlMoney x);
static member op_Implicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlSingle
Public Shared Widening Operator CType (x As SqlMoney) As SqlSingle

參數

x
SqlMoney

要轉換的 SqlMoney 結構。The SqlMoney structure to be converted.

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlMoneyA new SqlSingle structure whose Value is equal to the Value of the SqlMoney parameter.

備註

這個運算子的對等方法是SqlMoney.ToSqlSingle()The equivalent method for this operator is SqlMoney.ToSqlSingle()

另請參閱

Implicit(SqlInt64 to SqlSingle)

將提供的 SqlInt64 參數轉換成 SqlSingleConverts the supplied SqlInt64 parameter to SqlSingle.

public:
 static operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlInt64 x);
public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlInt64 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt64 -> System.Data.SqlTypes.SqlSingle
Public Shared Widening Operator CType (x As SqlInt64) As SqlSingle

參數

x
SqlInt64

要轉換的 SqlInt64 結構。The SqlInt64 structure to be converted.

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlInt64A new SqlSingle structure whose Value is equal to the Value of the SqlInt64 parameter.

備註

這個運算子的對等方法是SqlInt64.ToSqlSingle()The equivalent method for this operator is SqlInt64.ToSqlSingle()

另請參閱

Implicit(SqlByte to SqlSingle)

這個隱含運算子會將 SqlByte 參數轉換成 SqlSingleThis implicit operator converts the SqlByte parameter to SqlSingle.

public:
 static operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlByte x);
public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlByte x);
static member op_Implicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlSingle
Public Shared Widening Operator CType (x As SqlByte) As SqlSingle

參數

x
SqlByte

要轉換的 SqlByteThe SqlByte to be converted.

傳回

SqlSingle 結構,其 Value 屬性等於 Value 參數的 SqlByteA new SqlSingle structure whose Value property equals the Value of the SqlByte parameter.

備註

這個運算子的對等方法是SqlByte.ToSqlSingle()The equivalent method for this operator is SqlByte.ToSqlSingle()

另請參閱

Implicit(SqlInt16 to SqlSingle)

將提供的 SqlInt16 參數轉換成 SqlSingleConverts the supplied SqlInt16 parameter to SqlSingle.

public:
 static operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlInt16 x);
public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlInt16 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt16 -> System.Data.SqlTypes.SqlSingle
Public Shared Widening Operator CType (x As SqlInt16) As SqlSingle

參數

x
SqlInt16

要轉換的 SqlInt16 結構。The SqlInt16 structure to be converted.

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlInt16A new SqlSingle structure whose Value is equal to the Value of the SqlInt16 parameter.

備註

這個運算子的對等方法是SqlInt16.ToSqlSingle()The equivalent method for this operator is SqlInt16.ToSqlSingle()

另請參閱

Implicit(SqlDecimal to SqlSingle)

將提供的 SqlDecimal 參數轉換成 SqlSingleConverts the supplied SqlDecimal parameter to SqlSingle.

public:
 static operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlDecimal x);
public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlDecimal x);
static member op_Implicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlSingle
Public Shared Widening Operator CType (x As SqlDecimal) As SqlSingle

參數

x
SqlDecimal

要轉換的 SqlDecimal 結構。The SqlDecimal structure to be converted.

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlDecimalA new SqlSingle structure whose Value is equal to the Value of the SqlDecimal parameter.

備註

這個運算子的對等方法是SqlDecimal.ToSqlSingle()The equivalent method for this operator is SqlDecimal.ToSqlSingle()

另請參閱

Implicit(SqlInt32 to SqlSingle)

將提供的 SqlInt32 結構轉換成 SqlSingleConverts the supplied SqlInt32 structure to SqlSingle.

public:
 static operator System::Data::SqlTypes::SqlSingle(System::Data::SqlTypes::SqlInt32 x);
public static implicit operator System.Data.SqlTypes.SqlSingle (System.Data.SqlTypes.SqlInt32 x);
static member op_Implicit : System.Data.SqlTypes.SqlInt32 -> System.Data.SqlTypes.SqlSingle
Public Shared Widening Operator CType (x As SqlInt32) As SqlSingle

參數

x
SqlInt32

要轉換的 SqlInt32 結構。The SqlInt32 structure to be converted.

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlInt32A new SqlSingle structure whose Value is equal to the Value of the SqlInt32 parameter.

備註

這個運算子的對等方法是SqlInt32.ToSqlSingle()The equivalent method for this operator is SqlInt32.ToSqlSingle()

另請參閱

適用於