CLong 建構函式

定義

多載

CLong(Int32)

從 32 位整數建構實例。

CLong(IntPtr)

從原生大小的整數建構實例。

CLong(Int32)

來源:
CLong.cs
來源:
CLong.cs
來源:
CLong.cs

從 32 位整數建構實例。

public:
 CLong(int value);
public CLong (int value);
new System.Runtime.InteropServices.CLong : int -> System.Runtime.InteropServices.CLong
Public Sub New (value As Integer)

參數

value
Int32

整數值。

適用於

CLong(IntPtr)

來源:
CLong.cs
來源:
CLong.cs
來源:
CLong.cs

從原生大小的整數建構實例。

public:
 CLong(IntPtr value);
public CLong (nint value);
public CLong (IntPtr value);
new System.Runtime.InteropServices.CLong : nativeint -> System.Runtime.InteropServices.CLong
Public Sub New (value As IntPtr)

參數

value
IntPtr

nint

nativeint

整數值。

例外狀況

value 超出基礎記憶體類型的範圍。

適用於