nint.Implicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Implicit(nint to Int64)
public static implicit operator long(nint v);
static member op_Implicit : nint -> int64
參數
- v
- System.System.IntPtr System.nativeint
傳回
適用於
Implicit(SByte to nint)
public static implicit operator nint(sbyte v);
static member op_Implicit : sbyte -> nint
參數
- v
- SByte
傳回
System.System.IntPtr
System.nativeint
適用於
Implicit(nint to Single)
public static implicit operator float(nint v);
static member op_Implicit : nint -> single
參數
- v
- System.System.IntPtr System.nativeint
傳回
適用於
Implicit(nint to nfloat)
public static implicit operator nfloat(nint v);
static member op_Implicit : nint -> nfloat
參數
- v
- System.System.IntPtr System.nativeint
傳回
適用於
Implicit(nint to Double)
public static implicit operator double(nint v);
static member op_Implicit : nint -> double
參數
- v
- System.System.IntPtr System.nativeint
傳回
適用於
Implicit(Int32 to nint)
public static implicit operator nint(int v);
static member op_Implicit : int -> nint
參數
- v
- Int32
傳回
System.System.IntPtr
System.nativeint
適用於
Implicit(Int16 to nint)
public static implicit operator nint(short v);
static member op_Implicit : int16 -> nint
參數
- v
- Int16
傳回
System.System.IntPtr
System.nativeint
適用於
Implicit(Char to nint)
public static implicit operator nint(char v);
static member op_Implicit : char -> nint
參數
- v
- Char
傳回
System.System.IntPtr
System.nativeint
適用於
Implicit(Byte to nint)
public static implicit operator nint(byte v);
static member op_Implicit : byte -> nint
參數
- v
- Byte
傳回
System.System.IntPtr
System.nativeint
適用於
Implicit(nint to Decimal)
public static implicit operator decimal(nint v);
static member op_Implicit : nint -> decimal
參數
- v
- System.System.IntPtr System.nativeint