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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla