TagList.Item[Int32] 屬性

定義

取得或設定位於指定索引處的標記。

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)

參數

index
Int32

項目索引。

屬性值

在指定索引上的項目。

實作

例外狀況

index 不是 TagList 中的有效索引。

適用於