TelemetryPropertyBags.Concurrent<TValue> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
並行屬性包
public: generic <typename TValue>
ref class TelemetryPropertyBags::Concurrent : System::Collections::Concurrent::ConcurrentDictionary<System::String ^, TValue>, Microsoft::VisualStudio::Telemetry::ITelemetryPropertyBag<TValue>, 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 class TelemetryPropertyBags.Concurrent<TValue> : System.Collections.Concurrent.ConcurrentDictionary<string,TValue>, Microsoft.VisualStudio.Telemetry.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 TelemetryPropertyBags.Concurrent<'Value> = class
inherit ConcurrentDictionary<string, 'Value>
interface ITelemetryPropertyBag<'Value>
interface IDictionary<string, 'Value>
interface ICollection<KeyValuePair<string, 'Value>>
interface seq<KeyValuePair<string, 'Value>>
interface IEnumerable
Public Class TelemetryPropertyBags.Concurrent(Of TValue)
Inherits ConcurrentDictionary(Of String, TValue)
Implements ICollection(Of KeyValuePair(Of String, TValue)), IDictionary(Of String, TValue), IEnumerable(Of KeyValuePair(Of String, TValue)), ITelemetryPropertyBag(Of TValue)
類型參數
- TValue
- 繼承
-
ConcurrentDictionary<String,TValue>TelemetryPropertyBags.Concurrent<TValue>
- 衍生
- 實作
-
ITelemetryPropertyBag<TValue> ICollection<KeyValuePair<String,TValue>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,TValue> IEnumerable<KeyValuePair<String,TValue>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IEnumerable
建構函式
TelemetryPropertyBags.Concurrent<TValue>() |
並行包的初始化表達式 |
擴充方法
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,則傳回空列舉。 |