Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Runtime.​InteropServices.​CULong
Assembly: System.Runtime.InteropServices
<see cref="T:System.Runtime.InteropServices.CULong" /> is an immutable value type that represents the <c>unsigned long</c> 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 <c>unsigned long</c> type. 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.
Properties
public
UIntPtr
Value
The underlying integer value of this instance.
Methods
public
bool
Equals​(object o)
o
An object to compare with this instance.
Returns <see langword="true" /> if <paramref name="o" /> is an instance of <see cref="T:System.Runtime.InteropServices.CULong" /> and equals the value of this instance; otherwise, <see langword="false" /> .
Returns a value indicating whether this instance is equal to a specified object.
public
bool
Equals​(CULong other)
other
A <see cref="T:System.Runtime.InteropServices.CULong" /> value to compare to this instance.
Returns <see langword="true" /> if <paramref name="other" /> has the same value as this instance; otherwise, <see langword="false" /> .
Returns a value indicating whether this instance is equal to a specified <see cref="T:System.Runtime.InteropServices.CLong" /> value.
public
int
GetHashCode​() Returns A 32-bit signed integer hash code.
Returns the hash code for this instance.
public
string
ToString​() Returns The string representation of the value of this instance, consisting of a sequence of digits ranging from 0 to 9 with no leading zeroes.
Converts the numeric value of this instance to its equivalent string representation.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object