System::Collections::Specialized::StringCollectionPtr::operator[]‑metod

StringCollectionPtr::operator[] method

Åtkomstfunktion.

System::String & System::Collections::Specialized::StringCollectionPtr::operator[](int idx) const
ParameterTypBeskrivning
idxintIndex för att hämta elementet vid.

ReturnValue

Referens till sträng på angiven position, antingen befintlig eller nyss skapad.

Se även