Marshal.SystemMaxDBCSCharSize Campo

Definição

Representa o tamanho máximo de um conjunto de caracteres de dois bytes (DBCS), em bytes, para o sistema operativo atual. Este campo é só de leitura.

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

Valor de Campo

Exemplos

O exemplo seguinte demonstra o SystemDefaultCharSize campo. Este exemplo de código faz parte de um exemplo maior fornecido para a Marshal classe.

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

Aplica-se a

Ver também