ITelemetryPropertyBag<TValue> 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
泛型 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
- 衍生
- 實作
-
ICollection<KeyValuePair<String,TValue>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,TValue> IEnumerable<KeyValuePair<String,TValue>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
擴充方法
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,則傳回空列舉。 |