Upravit

Sdílet prostřednictvím


ReadOnlyStringCollection.Item[Int32] Property

Definition

Gets a String object in this collection.

public:
 property System::String ^ default[int] { System::String ^ get(int index); };
public string this[int index] { get; }
member this.Item(int) : string
Default Public ReadOnly Property Item(index As Integer) As String

Parameters

index
Int32

The zero-based index of the String object to get.

Property Value

The String object that exists at the specified index.

Exceptions

The index specified is out of range of the collection.

Applies to

See also