System::String::operator[] 方法

String::operator[] method

获取指定位置的字符。

char_t System::String::operator[](int index) const
参数类型描述
索引int获取字符的索引。

ReturnValue

指定位置的字符,若超出范围则返回 0xffff。

另见