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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по