Bagikan melalui


TagList.Item[Int32] Properti

Definisi

Mendapatkan atau mengatur tag pada indeks yang ditentukan.

public:
 property System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> default[int] { System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> get(int index); void set(int index, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> value); };
public System.Collections.Generic.KeyValuePair<string,object?> this[int index] { get; set; }
member this.Item(int) : System.Collections.Generic.KeyValuePair<string, obj> with get, set
Default Public Property Item(index As Integer) As KeyValuePair(Of String, Object)

Parameter

index
Int32

Indeks item.

Nilai Properti

Elemen pada indeks yang ditentukan.

Penerapan

Pengecualian

index bukan indeks yang valid di TagList.

Berlaku untuk