Marshal.SystemDefaultCharSize フィールド
システムの既定の文字サイズを表します。Unicode システムの既定の文字サイズは 2 で、ANSI システムの場合は 1 です。このフィールドは読み取り専用です。
Public Shared ReadOnly SystemDefaultCharSize As Integer
[C#]
public static readonly int SystemDefaultCharSize;
[C++]
public: static int SystemDefaultCharSize;
[JScript]
public static var SystemDefaultCharSize : int;
必要条件
プラットフォーム: 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
参照
Marshal クラス | Marshal メンバ | System.Runtime.InteropServices 名前空間 | PtrToStringAuto | StringToHGlobalAuto | StringToCoTaskMemAuto