Marshal.SystemMaxDBCSCharSize Pole

Definice

Představuje maximální velikost dvoubabajtů znakové sady (DBCS) v bajtech pro aktuální operační systém. Toto pole je jen ke čtení.

public: static initonly int SystemMaxDBCSCharSize;
public static readonly int SystemMaxDBCSCharSize;
 staticval mutable SystemMaxDBCSCharSize : int
Public Shared ReadOnly SystemMaxDBCSCharSize As Integer 

Hodnota pole

Příklady

Následující příklad ukazuje SystemDefaultCharSize pole. Tento příklad kódu je součástí většího příkladu Marshal pro třídu.

// Demonstrate the use of public static fields of the Marshal
// class.
Console::WriteLine(
    "SystemDefaultCharSize={0},SystemMaxDBCSCharSize={1}",
    Marshal::SystemDefaultCharSize,
    Marshal::SystemMaxDBCSCharSize);
// Demonstrate the use of public static fields of the Marshal class.
Console.WriteLine("SystemDefaultCharSize={0}, SystemMaxDBCSCharSize={1}",
    Marshal.SystemDefaultCharSize, Marshal.SystemMaxDBCSCharSize);
' Demonstrate the use of public static fields of the Marshal class.
Console.WriteLine("SystemDefaultCharSize={0}, SystemMaxDBCSCharSize={1}", Marshal.SystemDefaultCharSize, Marshal.SystemMaxDBCSCharSize)

Platí pro

Viz také