TagList.Add 方法

定义

重载

Add(KeyValuePair<String,Object>)

将标记添加到列表。

Add(String, Object)

将具有指定 keyvalue 的标记添加到列表中。

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

将具有指定 keyvalue 的标记添加到列表中。

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

标记值。

适用于