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 オブジェクトの 0 から始まるインデックス。

プロパティ値

指定されたインデックスにある String オブジェクト。

例外

指定された index がコレクションの範囲外です。

適用対象

こちらもご覧ください