Activity.Tags Właściwość

Definicja

Pobiera kolekcję par klucz/wartość, które reprezentują informacje, które będą rejestrowane wraz z Activity systemem rejestrowania.

public:
 property System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ Tags { System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ get(); };
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string?>> Tags { get; }
public System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> Tags { get; }
member this.Tags : seq<System.Collections.Generic.KeyValuePair<string, string>>
Public ReadOnly Property Tags As IEnumerable(Of KeyValuePair(Of String, String))

Wartość właściwości

Informacje, które zostaną zarejestrowane wraz z Activity systemem rejestrowania.

Uwagi

Na platformie .NET 5 i nowszych wersjach kolejność tagów na liście jest zgodna z kolejnością dodania ich do listy. W poprzednich wersjach kolejność jest odwrócona, czyli pierwszy dodany element jest ostatni na liście.

Dotyczy