CommaDelimitedStringCollection.Item[Int32] プロパティ

定義

インデックスに基づいてコレクション内の文字列要素を取得または設定します。

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

パラメーター

index
Int32

コレクション内の文字列要素のインデックス。

プロパティ値

コレクション内の文字列要素。

注釈

このプロパティを使用すると、コレクション内の文字列を、コレクション内のインデックスに基づいて設定または取得できます。 このプロパティでは、 プロパティも IsModifiedtrue設定されます。

適用対象