System::Globalization::StringInfo::GetNextTextElement 方法

StringInfo::GetNextTextElement(const String&) method

获取指定字符串中的第一个元素。

static String System::Globalization::StringInfo::GetNextTextElement(const String &str)
参数类型描述
strconst String&输入字符串。

ReturnValue

第一个文本元素。

另见

StringInfo::GetNextTextElement(const String&, int) method

获取指定字符串在指定索引处的元素。

static String System::Globalization::StringInfo::GetNextTextElement(const String &str, int index)
参数类型描述
strconst String&输入字符串。
索引int起始索引。

ReturnValue

Text element at the specified index.

另见