Upravit

Sdílet prostřednictvím


UIntPtr.Size Property

Definition

Gets the size of this instance.

public:
 static property int Size { int get(); };
public static int Size { get; }
static member Size : int
Public Shared ReadOnly Property Size As Integer

Property Value

The size of an unsigned integer in the executing process, measured in bytes. The value of this property is 4 in a 32-bit process, and 8 in a 64-bit process. You can define the process type by setting the /platform switch when you compile your code with the C# and Visual Basic compilers.

Applies to