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 中的有效索引。

适用于