System::SmartPtr::operator[] metod
SmartPtr::operator[] method
Åtkomstfunktion för array‑element. Kompileras endast om SmartPtr_ är en specialisering av System::Array.
template<typename IdxType> decltype(System::Details::GetByIndex(std::declval<const SmartPtr_ *>(), std::declval<IdxType>())) System::SmartPtr<T>::operator[](IdxType idx) const
| Parameter | Beskrivning |
|---|---|
| IdxType | Typ av index (antagen som heltal). |
| Parameter | Type | Beskrivning |
|---|---|---|
| idx | IdxType | Index i array. |
ReturnValue
Array value at idx position.
Se även
- Typedef SmartPtr_
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++