System::Collections::Generic::List::operator[] 方法
List::operator method
访问器函数。
vector_t::reference System::Collections::Generic::List<T>::operator[](int index)
| 参数 | 类型 | 描述 |
|---|---|---|
| 索引 | int | 用于获取元素的索引。 |
ReturnValue
对指定位置元素的引用。
另见
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
List::operator const method
访问器函数。
vector_t::const_reference System::Collections::Generic::List<T>::operator[](int index) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 索引 | int | 用于获取元素的索引。 |
ReturnValue
对指定位置元素的常量引用。
另见
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Font for C++