ReadOnlyStringCollection.Item[Int32] 屬性

定義

取得這個集合中的 String 物件。

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

參數

index
Int32

要取得之 String 物件以零為起始的索引。

屬性值

String 物件,位在指定的索引。

例外狀況

指定的 index 超出集合範圍。

適用於

另請參閱