System::String::FromAscii μέθοδος

String::FromAscii(const char *) method

Δημιουργεί String από ASCII συμβολοσειρά.

static String System::String::FromAscii(const char *asciiStr)
ParameterTypeΠεριγραφή
asciiStrconst char *Δείκτης σε συμβολοσειρά που τελειώνει με μηδενικό χαρακτήρα κωδικοποιημένη με κωδικοσελίδα ASCII.

ReturnValue

String object representing passed string.

Δείτε επίσης

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

Δημιουργεί String από ASCII συμβολοσειρά.

static String System::String::FromAscii(const char *asciiStr, int len)
ParameterTypeΠεριγραφή
asciiStrconst char *Δείκτης σε συμβολοσειρά κωδικοποιημένη με κωδικοσελίδα ASCII.
lenintΑριθμός χαρακτήρων προς επεξεργασία.

ReturnValue

String object representing passed string.

Δείτε επίσης

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

Δημιουργεί String από ASCII συμβολοσειρά.

static String System::String::FromAscii(const std::string &asciiStr)
ParameterTypeΠεριγραφή
asciiStrconst std::string&Συμβολοσειρά κωδικοποιημένη σε ASCII.

ReturnValue

String object representing passed string.

Δείτε επίσης