TagList.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置指定索引处的标记。
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 中的有效索引。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈