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.
This API is not CLS-compliant.
CLong is an immutable value type that represents the
long type in C and C++.
It is meant to be used as an exchange type at the managed/unmanaged boundary to accurately represent in managed code unmanaged APIs that use the
This type has 32-bits of storage on all Windows platforms and 32-bit Unix-based platforms.
It has 64-bits of storage on 64-bit Unix platforms.
public value class CLong : IEquatable<System::Runtime::InteropServices::CLong>
[System.CLSCompliant(false)] public readonly struct CLong : IEquatable<System.Runtime.InteropServices.CLong>
[<System.CLSCompliant(false)>] type CLong = struct
Public Structure CLong Implements IEquatable(Of CLong)
Constructs an instance from a 32-bit integer.
Constructs an instance from a native sized integer.
The underlying integer value of this instance.
Returns a value indicating whether this instance is equal to a specified CLong value.
Returns a value indicating whether this instance is equal to a specified object.
Returns the hash code for this instance.
Converts the numeric value of this instance to its equivalent string representation.