Редагувати

Поділитися через


CommaDelimitedStringCollection.Item[Int32] Property

Definition

Gets or sets a string element in the collection based on the index.

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

Parameters

index
Int32

The index of the string element in the collection.

Property Value

A string element in the collection.

Remarks

This property allows a string in the collection to be set or retrieved based on its index in the collection. This property also causes the IsModified property to be set to true.

Applies to