SqlInt64.Explicit SqlInt64.Explicit SqlInt64.Explicit SqlInt64.Explicit Operator

定义

重载

Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64)

将提供的 SqlString 参数转换为 SqlInt64Converts the supplied SqlString parameter to SqlInt64.

Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64)

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

Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64)

SqlInt64 参数转换为长值。Converts the SqlInt64 parameter to long.

Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64)

将提供的 SqlMoney 参数转换为 SqlInt64Converts the supplied SqlMoney parameter to SqlInt64.

Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64)

将提供的 SqlDecimal 参数转换为 SqlInt64Converts the supplied SqlDecimal parameter to SqlInt64.

Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64)

将提供的 SqlBoolean 参数转换为 SqlInt64Converts the supplied SqlBoolean parameter to SqlInt64.

Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64)

将提供的 SqlDouble 结构转换为 SqlInt64Converts the supplied SqlDouble structure to SqlInt64.

Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64) Explicit(SqlString to SqlInt64)

将提供的 SqlString 参数转换为 SqlInt64Converts the supplied SqlString parameter to SqlInt64.

public:
 static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlString x);
public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlString x);
static member op_Explicit : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlString) As SqlInt64

参数

x
SqlString SqlString SqlString SqlString

要转换的 SqlString 对象。The SqlString object to be converted.

返回

一个新的 SqlInt64,它的 Value 等于 SqlString 参数表示的值。A new SqlInt64 whose Value is equal to the value represented by the SqlString parameter.

另请参阅

Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64) Explicit(SqlSingle to SqlInt64)

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

public:
 static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlSingle x);
public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlSingle x);
static member op_Explicit : System.Data.SqlTypes.SqlSingle -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlSingle) As SqlInt64

参数

x
SqlSingle SqlSingle SqlSingle SqlSingle

要转换的 SqlSingle 结构。The SqlSingle structure to be converted.

返回

一个新的 SqlInt64 结构,其 Value 属性包含 SqlSingle 参数的整数部分。A new SqlInt64 structure whose Value property contains the integer part of the SqlSingle parameter.

另请参阅

Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64) Explicit(SqlInt64 to Int64)

SqlInt64 参数转换为长值。Converts the SqlInt64 parameter to long.

public:
 static explicit operator long(System::Data::SqlTypes::SqlInt64 x);
public static explicit operator long (System.Data.SqlTypes.SqlInt64 x);
static member op_Explicit : System.Data.SqlTypes.SqlInt64 -> int64
Public Shared Narrowing Operator CType (x As SqlInt64) As Long

参数

x
SqlInt64 SqlInt64 SqlInt64 SqlInt64

一个 SqlInt64 结构。A SqlInt64 structure.

返回

一个新长值,它等于 ValueSqlInt64A new long value equal to the Value of the SqlInt64.

另请参阅

Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64) Explicit(SqlMoney to SqlInt64)

将提供的 SqlMoney 参数转换为 SqlInt64Converts the supplied SqlMoney parameter to SqlInt64.

public:
 static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlMoney x);
public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlMoney x);
static member op_Explicit : System.Data.SqlTypes.SqlMoney -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlMoney) As SqlInt64

参数

x
SqlMoney SqlMoney SqlMoney SqlMoney

要转换的 SqlMoney 结构。The SqlMoney structure to be converted.

返回

一个新的 SqlInt64 结构,它的 Value 属性等于 SqlMoney 参数的整数部分。A new SqlInt64 structure whose Value property equals the integer part of the SqlMoney parameter.

另请参阅

Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64) Explicit(SqlDecimal to SqlInt64)

将提供的 SqlDecimal 参数转换为 SqlInt64Converts the supplied SqlDecimal parameter to SqlInt64.

public:
 static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlDecimal x);
public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlDecimal x);
static member op_Explicit : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlDecimal) As SqlInt64

参数

x
SqlDecimal SqlDecimal SqlDecimal SqlDecimal

要转换的 SqlDecimal 结构。The SqlDecimal structure to be converted.

返回

一个新的 SqlInt64 结构,其 Value 等于 SqlDecimal 参数的整数部分。A new SqlInt64 structure whose Value is equal to the integer part of the SqlDecimal parameter.

另请参阅

Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64) Explicit(SqlBoolean to SqlInt64)

将提供的 SqlBoolean 参数转换为 SqlInt64Converts the supplied SqlBoolean parameter to SqlInt64.

public:
 static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlBoolean x);
public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlBoolean x);
static member op_Explicit : System.Data.SqlTypes.SqlBoolean -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlBoolean) As SqlInt64

参数

x
SqlBoolean SqlBoolean SqlBoolean SqlBoolean

要转换的 SqlBoolean 结构。The SqlBoolean structure to be converted.

返回

新的 SqlInt64 结构,它的 Value 属性等于 ByteValue 参数的 SqlBooleanA new SqlInt64 structure whose Value property is equal to the ByteValue of the SqlBoolean parameter.

另请参阅

Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64) Explicit(SqlDouble to SqlInt64)

将提供的 SqlDouble 结构转换为 SqlInt64Converts the supplied SqlDouble structure to SqlInt64.

public:
 static explicit operator System::Data::SqlTypes::SqlInt64(System::Data::SqlTypes::SqlDouble x);
public static explicit operator System.Data.SqlTypes.SqlInt64 (System.Data.SqlTypes.SqlDouble x);
static member op_Explicit : System.Data.SqlTypes.SqlDouble -> System.Data.SqlTypes.SqlInt64
Public Shared Narrowing Operator CType (x As SqlDouble) As SqlInt64

参数

x
SqlDouble SqlDouble SqlDouble SqlDouble

要转换的 SqlDouble 结构。The SqlDouble structure to be converted.

返回

一个新的 SqlInt64 结构,它的 Value 属性等于 SqlDouble 参数的整数部分。A new SqlInt64 structure whose Value property equals the integer part of the SqlDouble parameter.

另请参阅

适用于