Int128.Explicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Explicit(Int128 to Int32)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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
要轉換的值。
傳回
unativeint
value 轉換成 UIntPtr。
- 屬性
適用於
Explicit(Int128 to UInt16)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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
要轉換的值。
傳回
nativeint
value 轉換成 IntPtr。
適用於
Explicit(Int128 to Half)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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)
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- Int128.cs
- 來源:
- 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。