ActivityTagsCollection 建構函式

定義

多載

ActivityTagsCollection()

建立集合的新執行個體。Create a new instance of the collection.

ActivityTagsCollection(IEnumerable<KeyValuePair<String,Object>>)

建立集合的新執行個體,並將輸入清單項目儲存在集合中。Create a new instance of the collection and store the input list items in the collection.

ActivityTagsCollection()

建立集合的新執行個體。Create a new instance of the collection.

public:
 ActivityTagsCollection();
public ActivityTagsCollection ();
Public Sub New ()

適用於

ActivityTagsCollection(IEnumerable<KeyValuePair<String,Object>>)

建立集合的新執行個體,並將輸入清單項目儲存在集合中。Create a new instance of the collection and store the input list items in the collection.

public:
 ActivityTagsCollection(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ list);
public ActivityTagsCollection (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>> list);
new System.Diagnostics.ActivityTagsCollection : seq<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Diagnostics.ActivityTagsCollection
Public Sub New (list As IEnumerable(Of KeyValuePair(Of String, Object)))

參數

list
IEnumerable<KeyValuePair<String,Object>>

要在集合中儲存的初始清單。Initial list to store in the collection.

適用於