Int128.Explicit 运算符

定义

重载

Explicit(Single to Int128)

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

Explicit(Int128 to UIntPtr)

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

Explicit(Int128 to UInt64)

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

Explicit(Int128 to UInt32)

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

Explicit(Int128 to UInt16)

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

Explicit(Int128 to UInt128)

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

Explicit(Int128 to Single)

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

Explicit(Int128 to SByte)

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

Explicit(Int128 to IntPtr)

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

Explicit(Int128 to Int32)

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

Explicit(Int128 to Int16)

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

Explicit(Int128 to Half)

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

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(Single to Int128)

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 UIntPtr)

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

转换为 UIntPtrvalue

属性

适用于

Explicit(Int128 to UInt64)

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

要转换的值。

返回

转换为 UInt64value

属性

适用于

Explicit(Int128 to UInt32)

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

要转换的值。

返回

转换为 UInt32value

属性

适用于

Explicit(Int128 to UInt16)

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

要转换的值。

返回

转换为 UInt16value

属性

适用于

Explicit(Int128 to UInt128)

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

要转换的值。

返回

转换为 UInt128value

属性

适用于

Explicit(Int128 to Single)

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

要转换的值。

返回

转换为 Singlevalue

适用于

Explicit(Int128 to SByte)

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

要转换的值。

返回

转换为 SBytevalue

属性

适用于

Explicit(Int128 to IntPtr)

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

转换为 IntPtrvalue

适用于

Explicit(Int128 to Int32)

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

要转换的值。

返回

转换为 Int32value

适用于

Explicit(Int128 to Int16)

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

要转换的值。

返回

转换为 Int16value

适用于

Explicit(Int128 to Half)

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

要转换的值。

返回

转换为 Halfvalue

适用于

Explicit(Int128 to Double)

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

要转换的值。

返回

转换为 Doublevalue

适用于

Explicit(Int128 to Decimal)

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

要转换的值。

返回

转换为 Decimalvalue

适用于

Explicit(Int128 to Char)

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

要转换的值。

返回

转换为 Charvalue

适用于

Explicit(Int128 to Byte)

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

要转换的值。

返回

转换为 Bytevalue

适用于

Explicit(Double to Int128)

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

将值显式转换为 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

将 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

要转换的值。

返回

转换为 Int64value

适用于