语言

Int128.Explicit 操作员

定义

重载

名称 说明
Explicit(Int128 to Int32)

显式将 128 位有符号整数转换为 Int32 值。

Explicit(Int128 to SByte)

显式将 128 位有符号整数转换为 SByte 值。

Explicit(Int128 to Single)

显式将 128 位有符号整数转换为 Single 值。

Explicit(Int128 to UInt128)

显式将 128 位有符号整数转换为 UInt128 值。

Explicit(Single to Int128)

显式将值 Single 转换为 128 位有符号整数。

Explicit(Int128 to UInt32)

显式将 128 位有符号整数转换为 UInt32 值。

Explicit(Int128 to UInt64)

显式将 128 位有符号整数转换为 UInt64 值。

Explicit(Int128 to UIntPtr)

显式将 128 位有符号整数转换为 UIntPtr 值。

Explicit(Int128 to UInt16)

显式将 128 位有符号整数转换为 UInt16 值。

Explicit(Int128 to IntPtr)

显式将 128 位有符号整数转换为 IntPtr 值。

Explicit(Int128 to Half)

显式将 128 位有符号整数转换为 Half 值。

Explicit(Int128 to Int16)

显式将 128 位有符号整数转换为 Int16 值。

Explicit(Int128 to Double)

显式将 128 位有符号整数转换为 Double 值。

Explicit(Int128 to Decimal)

显式将 128 位有符号整数转换为 Decimal 值。

Explicit(Int128 to Char)

显式将 128 位有符号整数转换为 Char 值。

Explicit(Int128 to Byte)

显式将 128 位有符号整数转换为 Byte 值。

Explicit(Double to Int128)

显式将值 Double 转换为 128 位有符号整数。

Explicit(Decimal to Int128)

显式将值 Decimal 转换为 128 位有符号整数。

Explicit(Int128 to Int64)

显式将 128 位有符号整数转换为 Int64 值。

Explicit(Int128 to Int32)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Int32 值。

public:
 static explicit operator int(Int128 value);
public static explicit operator int(Int128 value);
static member op_Explicit : Int128 -> int
Public Shared Narrowing Operator CType (value As Int128) As Integer

参数

value
Int128

要转换的值。

返回

value 已转换为 Int32。

适用于

Explicit(Int128 to SByte)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

重要

此 API 不符合 CLS。

显式将 128 位有符号整数转换为 SByte 值。

public:
 static explicit operator System::SByte(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator sbyte(Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> sbyte
Public Shared Narrowing Operator CType (value As Int128) As SByte

参数

value
Int128

要转换的值。

返回

value 已转换为 SByte。

特性

适用于

Explicit(Int128 to Single)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Single 值。

public:
 static explicit operator float(Int128 value);
public static explicit operator float(Int128 value);
static member op_Explicit : Int128 -> single
Public Shared Narrowing Operator CType (value As Int128) As Single

参数

value
Int128

要转换的值。

返回

value 已转换为 Single。

适用于

Explicit(Int128 to UInt128)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

重要

此 API 不符合 CLS。

显式将 128 位有符号整数转换为 UInt128 值。

public:
 static explicit operator UInt128(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator UInt128(Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> UInt128
Public Shared Narrowing Operator CType (value As Int128) As UInt128

参数

value
Int128

要转换的值。

返回

value 已转换为 UInt128。

特性

适用于

Explicit(Single to Int128)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将值 Single 转换为 128 位有符号整数。

public:
 static explicit operator Int128(float value);
public static explicit operator Int128(float value);
static member op_Explicit : single -> Int128
Public Shared Narrowing Operator CType (value As Single) As Int128

参数

value
Single

要转换的值。

返回

value 转换为 128 位有符号整数。

适用于

Explicit(Int128 to UInt32)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

重要

此 API 不符合 CLS。

显式将 128 位有符号整数转换为 UInt32 值。

public:
 static explicit operator System::UInt32(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator uint(Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> uint32
Public Shared Narrowing Operator CType (value As Int128) As UInteger

参数

value
Int128

要转换的值。

返回

value 已转换为 UInt32。

特性

适用于

Explicit(Int128 to UInt64)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

重要

此 API 不符合 CLS。

显式将 128 位有符号整数转换为 UInt64 值。

public:
 static explicit operator System::UInt64(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator ulong(Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> uint64
Public Shared Narrowing Operator CType (value As Int128) As ULong

参数

value
Int128

要转换的值。

返回

value 已转换为 UInt64。

特性

适用于

Explicit(Int128 to UIntPtr)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

重要

此 API 不符合 CLS。

显式将 128 位有符号整数转换为 UIntPtr 值。

public:
 static explicit operator UIntPtr(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator UIntPtr(Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> unativeint
Public Shared Narrowing Operator CType (value As Int128) As UIntPtr

参数

value
Int128

要转换的值。

返回

UIntPtr

unativeint

value 已转换为 UIntPtr。

特性

适用于

Explicit(Int128 to UInt16)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

重要

此 API 不符合 CLS。

显式将 128 位有符号整数转换为 UInt16 值。

public:
 static explicit operator System::UInt16(Int128 value);
[System.CLSCompliant(false)]
public static explicit operator ushort(Int128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : Int128 -> uint16
Public Shared Narrowing Operator CType (value As Int128) As UShort

参数

value
Int128

要转换的值。

返回

value 已转换为 UInt16。

特性

适用于

Explicit(Int128 to IntPtr)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 IntPtr 值。

public:
 static explicit operator IntPtr(Int128 value);
public static explicit operator IntPtr(Int128 value);
static member op_Explicit : Int128 -> nativeint
Public Shared Narrowing Operator CType (value As Int128) As IntPtr

参数

value
Int128

要转换的值。

返回

IntPtr

nativeint

value 已转换为 IntPtr。

适用于

Explicit(Int128 to Half)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Half 值。

public:
 static explicit operator Half(Int128 value);
public static explicit operator Half(Int128 value);
static member op_Explicit : Int128 -> Half
Public Shared Narrowing Operator CType (value As Int128) As Half

参数

value
Int128

要转换的值。

返回

value 已转换为 Half。

适用于

Explicit(Int128 to Int16)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Int16 值。

public:
 static explicit operator short(Int128 value);
public static explicit operator short(Int128 value);
static member op_Explicit : Int128 -> int16
Public Shared Narrowing Operator CType (value As Int128) As Short

参数

value
Int128

要转换的值。

返回

value 已转换为 Int16。

适用于

Explicit(Int128 to Double)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Double 值。

public:
 static explicit operator double(Int128 value);
public static explicit operator double(Int128 value);
static member op_Explicit : Int128 -> double
Public Shared Narrowing Operator CType (value As Int128) As Double

参数

value
Int128

要转换的值。

返回

value 已转换为 Double。

适用于

Explicit(Int128 to Decimal)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Decimal 值。

public:
 static explicit operator System::Decimal(Int128 value);
public static explicit operator decimal(Int128 value);
static member op_Explicit : Int128 -> decimal
Public Shared Narrowing Operator CType (value As Int128) As Decimal

参数

value
Int128

要转换的值。

返回

value 已转换为 Decimal。

适用于

Explicit(Int128 to Char)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Char 值。

public:
 static explicit operator char(Int128 value);
public static explicit operator char(Int128 value);
static member op_Explicit : Int128 -> char
Public Shared Narrowing Operator CType (value As Int128) As Char

参数

value
Int128

要转换的值。

返回

value 已转换为 Char。

适用于

Explicit(Int128 to Byte)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Byte 值。

public:
 static explicit operator System::Byte(Int128 value);
public static explicit operator byte(Int128 value);
static member op_Explicit : Int128 -> byte
Public Shared Narrowing Operator CType (value As Int128) As Byte

参数

value
Int128

要转换的值。

返回

value 已转换为 Byte。

适用于

Explicit(Double to Int128)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将值 Double 转换为 128 位有符号整数。

public:
 static explicit operator Int128(double value);
public static explicit operator Int128(double value);
static member op_Explicit : double -> Int128
Public Shared Narrowing Operator CType (value As Double) As Int128

参数

value
Double

要转换的值。

返回

value 转换为 128 位有符号整数。

适用于

Explicit(Decimal to Int128)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将值 Decimal 转换为 128 位有符号整数。

public:
 static explicit operator Int128(System::Decimal value);
public static explicit operator Int128(decimal value);
static member op_Explicit : decimal -> Int128
Public Shared Narrowing Operator CType (value As Decimal) As Int128

参数

value
Decimal

要转换的值。

返回

value 转换为 128 位有符号整数。

适用于

Explicit(Int128 to Int64)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

显式将 128 位有符号整数转换为 Int64 值。

public:
 static explicit operator long(Int128 value);
public static explicit operator long(Int128 value);
static member op_Explicit : Int128 -> int64
Public Shared Narrowing Operator CType (value As Int128) As Long

参数

value
Int128

要转换的值。

返回

value 已转换为 Int64。

适用于