Decimal128.Explicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Explicit(UInt128 to Decimal128)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::Numerics::Decimal128(UInt128 value);
[System.CLSCompliant(false)]
public static explicit operator System.Numerics.Decimal128(UInt128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : UInt128 -> System.Numerics.Decimal128
Public Shared Narrowing Operator CType (value As UInt128) As Decimal128
參數
- value
- UInt128
傳回
- 屬性
適用於
Explicit(Single to Decimal128)
public:
static explicit operator System::Numerics::Decimal128(float value);
public static explicit operator System.Numerics.Decimal128(float value);
static member op_Explicit : single -> System.Numerics.Decimal128
Public Shared Narrowing Operator CType (value As Single) As Decimal128
參數
- value
- Single
傳回
適用於
Explicit(Decimal128 to UIntPtr)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator UIntPtr(System::Numerics::Decimal128 value);
[System.CLSCompliant(false)]
public static explicit operator UIntPtr(System.Numerics.Decimal128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Decimal128 -> unativeint
Public Shared Narrowing Operator CType (value As Decimal128) As UIntPtr
參數
- value
- Decimal128
傳回
UIntPtr
unativeint
- 屬性
適用於
Explicit(Decimal128 to UInt64)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::UInt64(System::Numerics::Decimal128 value);
[System.CLSCompliant(false)]
public static explicit operator ulong(System.Numerics.Decimal128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Decimal128 -> uint64
Public Shared Narrowing Operator CType (value As Decimal128) As ULong
參數
- value
- Decimal128
傳回
- 屬性
適用於
Explicit(Decimal128 to UInt32)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::UInt32(System::Numerics::Decimal128 value);
[System.CLSCompliant(false)]
public static explicit operator uint(System.Numerics.Decimal128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Decimal128 -> uint32
Public Shared Narrowing Operator CType (value As Decimal128) As UInteger
參數
- value
- Decimal128
傳回
- 屬性
適用於
Explicit(Decimal128 to UInt16)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::UInt16(System::Numerics::Decimal128 value);
[System.CLSCompliant(false)]
public static explicit operator ushort(System.Numerics.Decimal128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Decimal128 -> uint16
Public Shared Narrowing Operator CType (value As Decimal128) As UShort
參數
- value
- Decimal128
傳回
- 屬性
適用於
Explicit(Decimal128 to UInt128)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator UInt128(System::Numerics::Decimal128 value);
[System.CLSCompliant(false)]
public static explicit operator UInt128(System.Numerics.Decimal128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Decimal128 -> UInt128
Public Shared Narrowing Operator CType (value As Decimal128) As UInt128
參數
- value
- Decimal128
傳回
- 屬性
適用於
Explicit(Decimal128 to Single)
public:
static explicit operator float(System::Numerics::Decimal128 value);
public static explicit operator float(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> single
Public Shared Narrowing Operator CType (value As Decimal128) As Single
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to SByte)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::SByte(System::Numerics::Decimal128 value);
[System.CLSCompliant(false)]
public static explicit operator sbyte(System.Numerics.Decimal128 value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Numerics.Decimal128 -> sbyte
Public Shared Narrowing Operator CType (value As Decimal128) As SByte
參數
- value
- Decimal128
傳回
- 屬性
適用於
Explicit(Decimal128 to IntPtr)
public:
static explicit operator IntPtr(System::Numerics::Decimal128 value);
public static explicit operator IntPtr(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> nativeint
Public Shared Narrowing Operator CType (value As Decimal128) As IntPtr
參數
- value
- Decimal128
傳回
IntPtr
nativeint
適用於
Explicit(Decimal128 to Int64)
public:
static explicit operator long(System::Numerics::Decimal128 value);
public static explicit operator long(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> int64
Public Shared Narrowing Operator CType (value As Decimal128) As Long
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to Int32)
public:
static explicit operator int(System::Numerics::Decimal128 value);
public static explicit operator int(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> int
Public Shared Narrowing Operator CType (value As Decimal128) As Integer
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to Int16)
public:
static explicit operator short(System::Numerics::Decimal128 value);
public static explicit operator short(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> int16
Public Shared Narrowing Operator CType (value As Decimal128) As Short
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to Int128)
public:
static explicit operator Int128(System::Numerics::Decimal128 value);
public static explicit operator Int128(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> Int128
Public Shared Narrowing Operator CType (value As Decimal128) As Int128
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to Half)
public:
static explicit operator Half(System::Numerics::Decimal128 value);
public static explicit operator Half(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> Half
Public Shared Narrowing Operator CType (value As Decimal128) As Half
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to Double)
public:
static explicit operator double(System::Numerics::Decimal128 value);
public static explicit operator double(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> double
Public Shared Narrowing Operator CType (value As Decimal128) As Double
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to Decimal)
public:
static explicit operator System::Decimal(System::Numerics::Decimal128 value);
public static explicit operator decimal(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> decimal
Public Shared Narrowing Operator CType (value As Decimal128) As Decimal
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to Char)
public:
static explicit operator char(System::Numerics::Decimal128 value);
public static explicit operator char(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> char
Public Shared Narrowing Operator CType (value As Decimal128) As Char
參數
- value
- Decimal128
傳回
適用於
Explicit(Decimal128 to Byte)
public:
static explicit operator System::Byte(System::Numerics::Decimal128 value);
public static explicit operator byte(System.Numerics.Decimal128 value);
static member op_Explicit : System.Numerics.Decimal128 -> byte
Public Shared Narrowing Operator CType (value As Decimal128) As Byte
參數
- value
- Decimal128
傳回
適用於
Explicit(Int128 to Decimal128)
public:
static explicit operator System::Numerics::Decimal128(Int128 value);
public static explicit operator System.Numerics.Decimal128(Int128 value);
static member op_Explicit : Int128 -> System.Numerics.Decimal128
Public Shared Narrowing Operator CType (value As Int128) As Decimal128
參數
- value
- Int128
傳回
適用於
Explicit(Half to Decimal128)
public:
static explicit operator System::Numerics::Decimal128(Half value);
public static explicit operator System.Numerics.Decimal128(Half value);
static member op_Explicit : Half -> System.Numerics.Decimal128
Public Shared Narrowing Operator CType (value As Half) As Decimal128
參數
- value
- Half
傳回
適用於
Explicit(Double to Decimal128)
public:
static explicit operator System::Numerics::Decimal128(double value);
public static explicit operator System.Numerics.Decimal128(double value);
static member op_Explicit : double -> System.Numerics.Decimal128
Public Shared Narrowing Operator CType (value As Double) As Decimal128
參數
- value
- Double