System::Collections::Generic::ListPtr::operator[] 方法
ListPtr::operator method
访问器。
std::vector<T>::reference System::Collections::Generic::ListPtr<T>::operator[](int idx)
| Parameter | Type | 描述 |
|---|---|---|
| idx | int | 用于访问元素的索引。 |
ReturnValue
对指定元素的引用。
另见
- Class ListPtr
- Namespace System::Collections::Generic
- Library Aspose.Page for C++
ListPtr::operator const method
访问器。
std::vector<T>::const_reference System::Collections::Generic::ListPtr<T>::operator[](int idx) const
| Parameter | Type | 描述 |
|---|---|---|
| idx | int | 用于访问元素的索引。 |
ReturnValue
对指定元素的常量引用。
另见
- Class ListPtr
- Namespace System::Collections::Generic
- Library Aspose.Page for C++