System::Collections::ObjectModel::Collection::operator[] method

Collection::operator method

Gets value at specified index.

T & System::Collections::ObjectModel::Collection<T>::operator[](int index)
ParameterTypeDescription
indexintIndex to get value from.

ReturnValue

Reference to existing value at specified index.

See Also

Collection::operator const method

Gets value at specified index.

const T & System::Collections::ObjectModel::Collection<T>::operator[](int index) const
ParameterTypeDescription
indexintIndex to get value from.

ReturnValue

Const reference to existing value at specified index.

See Also