TagList.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(KeyValuePair<String,Object>) |
Adds a tag to the list. |
Add(String, Object) |
Adds a tag with the specified |
Add(KeyValuePair<String,Object>)
- Source:
- TagList.cs
- Source:
- TagList.cs
- Source:
- TagList.cs
Adds a tag to the list.
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))
Parameters
- tag
- KeyValuePair<String,Object>
The key-value pair of the tag to add to the list.
Implements
Applies to
Add(String, Object)
- Source:
- TagList.cs
- Source:
- TagList.cs
- Source:
- TagList.cs
Adds a tag with the specified key
and value
to the list.
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)
Parameters
- key
- String
The tag key.
- value
- Object
The tag value.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應