TagList.Add 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Add(KeyValuePair<String,Object>) |
将标记添加到列表。 |
Add(String, Object) |
将具有指定 |
Add(KeyValuePair<String,Object>)
- Source:
- TagList.cs
- Source:
- TagList.cs
- Source:
- TagList.cs
将标记添加到列表。
public:
virtual void Add(System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag);
public void Add (System.Collections.Generic.KeyValuePair<string,object?> tag);
abstract member Add : System.Collections.Generic.KeyValuePair<string, obj> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Add (tag As KeyValuePair(Of String, Object))
参数
- tag
- KeyValuePair<String,Object>
要添加到列表的标记的键值对。
实现
适用于
Add(String, Object)
- Source:
- TagList.cs
- Source:
- TagList.cs
- Source:
- TagList.cs
将具有指定 key
和 value
的标记添加到列表中。
public:
void Add(System::String ^ key, System::Object ^ value);
public void Add (string key, object? value);
member this.Add : string * obj -> unit
Public Sub Add (key As String, value As Object)
参数
- key
- String
标记键。
- value
- Object
标记值。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈