System::String::FromAscii méthode

String::FromAscii(const char *) method

Crée String à partir d’une chaîne ASCII.

static String System::String::FromAscii(const char *asciiStr)
ParamètreTypeDescription
asciiStrconst char *Pointeur vers une chaîne terminée par nul encodée en utilisant la page de code ASCII.

ReturnValue

String object representing passed string.

Voir aussi

String::FromAscii(const char *, int) method

Crée String à partir d’une chaîne ASCII.

static String System::String::FromAscii(const char *asciiStr, int len)
ParamètreTypeDescription
asciiStrconst char *Pointeur vers une chaîne encodée en utilisant la page de code ASCII.
lenintNombre de caractères à traiter.

ReturnValue

String object representing passed string.

Voir aussi

String::FromAscii(const std::string&) method

Crée String à partir d’une chaîne ASCII.

static String System::String::FromAscii(const std::string &asciiStr)
ParamètreTypeDescription
asciiStrconst std::string&Chaîne encodée en ASCII.

ReturnValue

String object representing passed string.

Voir aussi