CLong Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.