次の方法で共有


IntPtr.Size プロパティ

このインスタンスのサイズを取得します。

Public Shared ReadOnly Property Size As Integer
[C#]
public static int Size {get;}
[C++]
public: __property static int get_Size();
[JScript]
public static function get Size() : int;

プロパティ値

このプラットフォームでのポインタまたはハンドルのサイズ (バイト)。このプロパティの値は 32 ビット プラットフォームでは 4、64 ビット プラットフォームでは 8 です。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET, Common Language Infrastructure (CLI) Standard

参照

IntPtr 構造体 | IntPtr メンバ | System 名前空間