UIntPtr.ToUInt32 Method
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.
Converts the value of this instance to a 32-bit unsigned integer.
public:
System::UInt32 ToUInt32();
public uint ToUInt32 ();
member this.ToUInt32 : unit -> uint32
Public Function ToUInt32 () As UInteger
Returns
A 32-bit unsigned integer equal to the value of this instance.
Exceptions
In a 64-bit process, the value of this instance is too large to represent as a 32-bit unsigned integer.
Remarks
An exception is only thrown if the value of value
requires more bits than the executing process supports.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour