UIntPtr.Size 属性

定义

获取此实例的大小。Gets the size of this instance.

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

属性值

Int32

此平台上的指针或句柄的大小,按字节计。The size of a pointer or handle on this platform, measured in bytes. 此属性的值在 32 位平台上为 4,在 64 位平台上为 8。The value of this property is 4 on a 32-bit platform, and 8 on a 64-bit platform.

适用于