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.

C#
public CLong(int value);

Parameters

value
Int32

The integer value.

Applies to

.NET 10 dan versi lain
Produk Versi
.NET 6, 7, 8, 9, 10

CLong(IntPtr)

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

Constructs an instance from a native sized integer.

C#
public CLong(IntPtr value);
C#
public CLong(nint value);

Parameters

value

nint

The integer value.

Exceptions

value is outside the range of the underlying storage type.

Applies to

.NET 10 dan versi lain
Produk Versi
.NET 6, 7, 8, 9, 10