Marshal.SystemMaxDBCSCharSize Pole

Definicja

Reprezentuje maksymalny rozmiar zestawu znaków dwubajtowych (DBCS) w bajtach dla bieżącego systemu operacyjnego. To pole jest tylko do odczytu.

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

Wartość pola

Przykłady

W poniższym przykładzie SystemDefaultCharSize pokazano pole. Ten przykład kodu jest częścią większego przykładu podanego Marshal dla klasy.

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

Dotyczy

Zobacz też