operator[]()

StringCollection::operator method

Accessor function.

System::String & System::Collections::Specialized::StringCollection::operator[](int index)

Arguments

ParameterTypeDescription
indexintIndex to get element at.

Return Value

Reference to string at specified position, either existing or newly created.

See Also