System::Collections::ObjectModel::Collection::operator[] 方法
Collection::operator method
获取指定索引处的值。
T & System::Collections::ObjectModel::Collection<T>::operator[](int index)
| 参数 | 类型 | 描述 |
|---|---|---|
| 索引 | int | 获取值的索引。 |
ReturnValue
对指定索引处的现有值的引用。
另见
- Class Collection
- Namespace System::Collections::ObjectModel
- Library Aspose.Font for C++
Collection::operator const method
获取指定索引处的值。
const T & System::Collections::ObjectModel::Collection<T>::operator[](int index) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 索引 | int | 获取值的索引。 |
ReturnValue
对指定索引处的现有值的常量引用。
另见
- Class Collection
- Namespace System::Collections::ObjectModel
- Library Aspose.Font for C++