共用方式為


ITelemetryPropertyBag<TValue> 介面

定義

泛型 PropertyBag 的 ITelemetryPropertyBag 介面

generic <typename TValue>
public interface class ITelemetryPropertyBag : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, TValue>>, System::Collections::Generic::IDictionary<System::String ^, TValue>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, TValue>>
public interface ITelemetryPropertyBag<TValue> : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,TValue>>, System.Collections.Generic.IDictionary<string,TValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,TValue>>
type ITelemetryPropertyBag<'Value> = interface
    interface IDictionary<string, 'Value>
    interface ICollection<KeyValuePair<string, 'Value>>
    interface seq<KeyValuePair<string, 'Value>>
    interface IEnumerable
Public Interface ITelemetryPropertyBag(Of TValue)
Implements ICollection(Of KeyValuePair(Of String, TValue)), IDictionary(Of String, TValue), IEnumerable(Of KeyValuePair(Of String, TValue))

類型參數

TValue
衍生
實作

擴充方法

HasProperties<TValue>(ITelemetryPropertyBag<TValue>)

檢查是否有屬性

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

將一個字典內容新增至另一個字典

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

依指定的索引鍵取得值。

EmptyIfNull<T>(IEnumerable<T>)

如果此列舉不是 Null,則傳回此列舉。 如果是 null,則傳回空列舉。

適用於