Bagikan melalui


Marshal.SystemMaxDBCSCharSize Bidang

Definisi

Mewakili ukuran maksimum ukuran kumpulan karakter byte ganda (DBCS), dalam byte, untuk sistem operasi saat ini. Bidang ini hanya-baca.

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

Nilai Bidang

Contoh

Contoh berikut menunjukkan SystemDefaultCharSize bidang . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk Marshal kelas .

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

Berlaku untuk

Lihat juga