This documentation is archived and is not being maintained.

Marshal.SystemDefaultCharSize Field

Represents the default character size on the system; the default is 2 for Unicode systems and 1 for ANSI systems. This field is read-only.

[Visual Basic]
Public Shared ReadOnly SystemDefaultCharSize As Integer
[C#]
public static readonly int SystemDefaultCharSize;
[C++]
public: static int SystemDefaultCharSize;
[JScript]
public static var SystemDefaultCharSize : int;

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace | PtrToStringAuto | StringToHGlobalAuto | StringToCoTaskMemAuto

Show: