طريقة System::String::FromUtf8

String::FromUtf8(const char *) method

ينشئ String من سلسلة utf8.

static String System::String::FromUtf8(const char *utf8)
ParameterTypeالوصف
utf8const char *مؤشر إلى سلسلة منتهية بصفر مُشفَّرة باستخدام صفحة ترميز utf8.

ReturnValue

String object representing passed string.

انظر أيضًا

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

ينشئ String من سلسلة utf8.

static String System::String::FromUtf8(const char *utf8, int len)
ParameterTypeالوصف
utf8const char *مؤشر إلى سلسلة مُشفَّرة باستخدام صفحة ترميز utf8.
lenintعدد الأحرف التي يجب معالجتها.

ReturnValue

String object representing passed string.

انظر أيضًا

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

ينشئ String من سلسلة utf8.

static String System::String::FromUtf8(const std::string &utf8)
ParameterTypeالوصف
utf8const std::string&مؤشر إلى سلسلة مُشفَّرة باستخدام صفحة ترميز utf8.

ReturnValue

String object representing passed string.

انظر أيضًا

String::FromUtf8(const uint8_t *) method

ينشئ String من سلسلة utf8.

static String System::String::FromUtf8(const uint8_t *utf8)
ParameterTypeالوصف
utf8const uint8_t *مؤشر إلى سلسلة منتهية بصفر مُشفَّرة باستخدام صفحة ترميز utf8.

ReturnValue

String object representing passed string.

انظر أيضًا