CLong Constructors

Definition

Overloads

CLong(Int32)

Constructs an instance from a 32-bit integer.

CLong(IntPtr)

Constructs an instance from a native sized integer.

CLong(Int32)

Source:
CLong.cs
Source:
CLong.cs
Source:
CLong.cs

Constructs an instance from a 32-bit integer.

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

Parameters

value
Int32

The integer value.

Applies to

CLong(IntPtr)

Source:
CLong.cs
Source:
CLong.cs
Source:
CLong.cs

Constructs an instance from a native sized integer.

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)

Parameters

value
IntPtr

nint

nativeint

The integer value.

Exceptions

value is outside the range of the underlying storage type.

Applies to