편집

다음을 통해 공유


IntPtr.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 a signed 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