Sdílet prostřednictvím


TelemetryPropertyBag Třída

Definice

TelemetryPropertyBag je určená pro přidání vlastností do podřízených událostí.

public ref class TelemetryPropertyBag : Microsoft::VisualStudio::Telemetry::TelemetryPropertyBags::Concurrent<System::Object ^>
public class TelemetryPropertyBag : Microsoft.VisualStudio.Telemetry.TelemetryPropertyBags.Concurrent<object>
type TelemetryPropertyBag = class
    inherit TelemetryPropertyBags.Concurrent<obj>
Public Class TelemetryPropertyBag
Inherits TelemetryPropertyBags.Concurrent(Of Object)
Dědičnost

Konstruktory

TelemetryPropertyBag()

TelemetryPropertyBag je určená pro přidání vlastností do podřízených událostí.

Metody rozšíření

HasProperties<TValue>(ITelemetryPropertyBag<TValue>)

Zkontrolujte, jestli máme vlastnosti.

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean)

Přidání obsahu jednoho slovníku do jiného slovníku

GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK)

Získá hodnotu podle daného klíče.

Remove<TK,TV>(ConcurrentDictionary<TK,TV>, TK)

Odebrání klíče z ConcurrentDictionary

EmptyIfNull<T>(IEnumerable<T>)

Pokud nemá hodnotu null, vraťte tento výčet. V případě, že je null, vraťte prázdný výčet.

Platí pro