Marshal.SystemMaxDBCSCharSize Veld

Definitie

Vertegenwoordigt de maximale grootte van een DBCS-grootte (double byte character set), in bytes, voor het huidige besturingssysteem. Dit veld is alleen-lezen.

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

Waarde van veld

Voorbeelden

In het volgende voorbeeld ziet u het SystemDefaultCharSize veld. Dit codevoorbeeld maakt deel uit van een groter voorbeeld voor de Marshal klasse.

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

Van toepassing op

Zie ook