CULong Struct
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.
Important
This API is not CLS-compliant.
CULong is an immutable value type that represents the unsigned 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 unsigned long
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.
public value class CULong : IEquatable<System::Runtime::InteropServices::CULong>
[System.CLSCompliant(false)]
public readonly struct CULong : IEquatable<System.Runtime.InteropServices.CULong>
[<System.CLSCompliant(false)>]
type CULong = struct
Public Structure CULong
Implements IEquatable(Of CULong)
- Inheritance
- Attributes
- Implements
Constructors
CULong(UInt32) |
Constructs an instance from a 32-bit unsigned integer. |
CULong(UIntPtr) |
Constructs an instance from a native sized unsigned integer. |
Properties
Value |
The underlying integer value of this instance. |
Methods
Equals(CULong) |
Returns a value indicating whether this instance is equal to a specified CLong value. |
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object. |
GetHashCode() |
Returns the hash code for this instance. |
ToString() |
Converts the numeric value of this instance to its equivalent string representation. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈