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 で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET