语言

SqlInt64.Explicit 操作员

定义

转换到 /从中 SqlInt64转换 。

重载

名称 说明
Explicit(SqlString to SqlInt64)

将提供 SqlString 的参数转换为 SqlInt64.

Explicit(SqlSingle to SqlInt64)

将提供 SqlSingle 的参数转换为 SqlInt64.

Explicit(SqlMoney to SqlInt64)

将提供 SqlMoney 的参数转换为 SqlInt64.

Explicit(SqlInt64 to Int64)

将 SqlInt64 参数转换为 long。

Explicit(SqlDouble to SqlInt64)

将所提供的 SqlDouble 结构转换为 SqlInt64。

Explicit(SqlDecimal to SqlInt64)

将提供 SqlDecimal 的参数转换为 SqlInt64.

Explicit(SqlBoolean to SqlInt64)

将提供 SqlBoolean 的参数转换为 SqlInt64.

Explicit(SqlString to SqlInt64)

Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs

将提供 SqlString 的参数转换为 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要转换的对象。

返回

一个新 SqlInt64 值,其 Value 等于由参数表示 SqlString 的值。

另请参阅

适用于

Explicit(SqlSingle to SqlInt64)

Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs

将提供 SqlSingle 的参数转换为 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要转换的结构。

返回

一个新 SqlInt64 结构,其 Value 属性包含参数的 SqlSingle 整数部分。

另请参阅

适用于

Explicit(SqlMoney to SqlInt64)

Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs

将提供 SqlMoney 的参数转换为 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要转换的结构。

返回

一个新 SqlInt64 结构,其 Value 属性等于参数的 SqlMoney 整数部分。

另请参阅

适用于

Explicit(SqlInt64 to Int64)

Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs

将 SqlInt64 参数转换为 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 结构。

返回

等于 <a0/> 的新长值。

另请参阅

适用于

Explicit(SqlDouble to SqlInt64)

Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs

将所提供的 SqlDouble 结构转换为 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要转换的结构。

返回

一个新 SqlInt64 结构,其 Value 属性等于参数的 SqlDouble 整数部分。

另请参阅

适用于

Explicit(SqlDecimal to SqlInt64)

Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs

将提供 SqlDecimal 的参数转换为 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要转换的结构。

返回

一个新 SqlInt64 结构,其 Value 等于参数的 SqlDecimal 整数部分。

另请参阅

适用于

Explicit(SqlBoolean to SqlInt64)

Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs
Source:
SQLInt64.cs

将提供 SqlBoolean 的参数转换为 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要转换的结构。

返回

一个新SqlInt64结构,其Value属性等于ByteValueSqlBoolean参数。

另请参阅

适用于