SqlSingle.Implicit 運算子

定義

轉換為 SqlSingle 結構。

多載

Implicit(SqlByte to SqlSingle)

這個隱含運算子會將 SqlByte 參數轉換成 SqlSingle

Implicit(SqlDecimal to SqlSingle)

將提供的 SqlDecimal 參數轉換成 SqlSingle

Implicit(SqlInt16 to SqlSingle)

將提供的 SqlInt16 參數轉換成 SqlSingle

Implicit(SqlInt32 to SqlSingle)

將提供的 SqlInt32 結構轉換成 SqlSingle

Implicit(SqlInt64 to SqlSingle)

將提供的 SqlInt64 參數轉換成 SqlSingle

Implicit(SqlMoney to SqlSingle)

將提供的 SqlMoney 結構轉換成 SqlSingle

Implicit(Single to SqlSingle)

將指定的浮點數值轉換成 SqlSingle

Implicit(SqlByte to SqlSingle)

來源:
SQLSingle.cs
來源:
SQLSingle.cs
來源:
SQLSingle.cs

這個隱含運算子會將 SqlByte 參數轉換成 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

傳回

SqlSingle 結構,其 Value 屬性等於 Value 參數的 SqlByte

備註

這個運算子的對等方法為 SqlByte.ToSqlSingle()

另請參閱

適用於

Implicit(SqlDecimal to SqlSingle)

來源:
SQLSingle.cs
來源:
SQLSingle.cs
來源:
SQLSingle.cs

將提供的 SqlDecimal 參數轉換成 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 結構。

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlDecimal

備註

這個運算子的對等方法為 SqlDecimal.ToSqlSingle()

另請參閱

適用於

Implicit(SqlInt16 to SqlSingle)

來源:
SQLSingle.cs
來源:
SQLSingle.cs
來源:
SQLSingle.cs

將提供的 SqlInt16 參數轉換成 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 結構。

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlInt16

備註

這個運算子的對等方法為 SqlInt16.ToSqlSingle()

另請參閱

適用於

Implicit(SqlInt32 to SqlSingle)

來源:
SQLSingle.cs
來源:
SQLSingle.cs
來源:
SQLSingle.cs

將提供的 SqlInt32 結構轉換成 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 結構。

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlInt32

備註

這個運算子的對等方法為 SqlInt32.ToSqlSingle()

另請參閱

適用於

Implicit(SqlInt64 to SqlSingle)

來源:
SQLSingle.cs
來源:
SQLSingle.cs
來源:
SQLSingle.cs

將提供的 SqlInt64 參數轉換成 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 結構。

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlInt64

備註

這個運算子的對等方法為 SqlInt64.ToSqlSingle()

另請參閱

適用於

Implicit(SqlMoney to SqlSingle)

來源:
SQLSingle.cs
來源:
SQLSingle.cs
來源:
SQLSingle.cs

將提供的 SqlMoney 結構轉換成 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 結構。

傳回

SqlSingle 結構,其 Value 等於 Value 參數的 SqlMoney

備註

這個運算子的對等方法為 SqlMoney.ToSqlSingle()

另請參閱

適用於

Implicit(Single to SqlSingle)

來源:
SQLSingle.cs
來源:
SQLSingle.cs
來源:
SQLSingle.cs

將指定的浮點數值轉換成 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 的浮點數值。

傳回

SqlSingle 結構,包含指定的浮點數的值。

另請參閱

適用於