SqlSingle.Implicit SqlSingle.Implicit SqlSingle.Implicit SqlSingle.Implicit Operator

定义

重载

Implicit(Single to SqlSingle) Implicit(Single to SqlSingle) Implicit(Single to SqlSingle) Implicit(Single to SqlSingle)

将指定的浮点值转换为 SqlSingleConverts the specified floating point value to SqlSingle.

Implicit(SqlMoney to SqlSingle) Implicit(SqlMoney to SqlSingle) Implicit(SqlMoney to SqlSingle) Implicit(SqlMoney to SqlSingle)

将提供的 SqlMoney 结构转换为 SqlSingleConverts the supplied SqlMoney structure to SqlSingle.

Implicit(SqlInt64 to SqlSingle) Implicit(SqlInt64 to SqlSingle) Implicit(SqlInt64 to SqlSingle) Implicit(SqlInt64 to SqlSingle)

将提供的 SqlInt64 参数转换为 SqlSingleConverts the supplied SqlInt64 parameter to SqlSingle.

Implicit(SqlByte to SqlSingle) Implicit(SqlByte to SqlSingle) Implicit(SqlByte to SqlSingle) Implicit(SqlByte to SqlSingle)

此隐式运算符将 SqlByte 参数转换为 SqlSingleThis implicit operator converts the SqlByte parameter to SqlSingle.

Implicit(SqlInt16 to SqlSingle) Implicit(SqlInt16 to SqlSingle) Implicit(SqlInt16 to SqlSingle) Implicit(SqlInt16 to SqlSingle)

将提供的 SqlInt16 参数转换为 SqlSingleConverts the supplied SqlInt16 parameter to SqlSingle.

Implicit(SqlDecimal to SqlSingle) Implicit(SqlDecimal to SqlSingle) Implicit(SqlDecimal to SqlSingle) Implicit(SqlDecimal to SqlSingle)

将提供的 SqlDecimal 参数转换为 SqlSingleConverts the supplied SqlDecimal parameter to SqlSingle.

Implicit(SqlInt32 to SqlSingle) Implicit(SqlInt32 to SqlSingle) Implicit(SqlInt32 to SqlSingle) Implicit(SqlInt32 to SqlSingle)

将提供的 SqlInt32 结构转换为 SqlSingleConverts the supplied SqlInt32 structure to SqlSingle.

Implicit(Single to SqlSingle) Implicit(Single to SqlSingle) Implicit(Single 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 Single Single 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) Implicit(SqlMoney to SqlSingle) Implicit(SqlMoney to SqlSingle) 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 SqlMoney 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) Implicit(SqlInt64 to SqlSingle) Implicit(SqlInt64 to SqlSingle) 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 SqlInt64 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) Implicit(SqlByte to SqlSingle) Implicit(SqlByte to SqlSingle) 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 SqlByte SqlByte 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) Implicit(SqlInt16 to SqlSingle) Implicit(SqlInt16 to SqlSingle) 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 SqlInt16 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) Implicit(SqlDecimal to SqlSingle) Implicit(SqlDecimal to SqlSingle) 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 SqlDecimal 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) Implicit(SqlInt32 to SqlSingle) Implicit(SqlInt32 to SqlSingle) 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 SqlInt32 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()

另请参阅

适用于