Marshal.SystemMaxDBCSCharSize Feld

Definition

Stellt die maximale Größe einer DbCS-Größe (Double Byte Character Set) in Bytes für das aktuelle Betriebssystem dar. Dieses Feld ist schreibgeschützt.

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

Feldwert

Beispiele

Im folgenden Beispiel wird das SystemDefaultCharSize Feld veranschaulicht. Dieses Codebeispiel ist Teil eines größeren Beispiels, das für die Marshal Klasse bereitgestellt wird.

// 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)

Gilt für:

Weitere Informationen