次の方法で共有


TelemetryPropertyBags.Concurrent<TValue> クラス

定義

同時実行プロパティ バッグ

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
継承
TelemetryPropertyBags.Concurrent<TValue>
派生
実装

コンストラクター

TelemetryPropertyBags.Concurrent<TValue>()

同時実行バッグの初期化子

拡張メソッド

HasProperties<TValue>(ITelemetryPropertyBag<TValue>)

プロパティがあるかどうかを確認する

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

1 つの辞書コンテンツを別の辞書に追加する

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

指定したキーで値を取得します。

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

ConcurrentDictionary からキーを削除する

EmptyIfNull<T>(IEnumerable<T>)

null でない場合は、この列挙体を返します。 null の場合は、空の列挙を返します。

適用対象