TelemetryPropertyBag 类

定义

TelemetryPropertyBag 适用于向子事件添加属性

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)
继承

构造函数

TelemetryPropertyBag()

TelemetryPropertyBag 适用于向子事件添加属性

扩展方法

HasProperties<TValue>(ITelemetryPropertyBag<TValue>)

检查我们是否有属性

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

将一个字典内容添加到另一个字典

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

按给定键获取值。

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

从 ConcurrentDictionary 中删除密钥

EmptyIfNull<T>(IEnumerable<T>)

如果枚举不为 null,则返回此枚举。 如果为 null,则返回空枚举。

适用于