SortedDictionary<TKey,TValue>.ValueCollection コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した SortedDictionary<TKey,TValue>.ValueCollection 内の値を反映する、SortedDictionary<TKey,TValue> クラスの新しいインスタンスを初期化します。
public:
ValueCollection(System::Collections::Generic::SortedDictionary<TKey, TValue> ^ dictionary);
public ValueCollection (System.Collections.Generic.SortedDictionary<TKey,TValue> dictionary);
new System.Collections.Generic.SortedDictionary<'Key, 'Value>.ValueCollection : System.Collections.Generic.SortedDictionary<'Key, 'Value> -> System.Collections.Generic.SortedDictionary<'Key, 'Value>.ValueCollection
Public Sub New (dictionary As SortedDictionary(Of TKey, TValue))
パラメーター
- dictionary
- SortedDictionary<TKey,TValue>
新しい SortedDictionary<TKey,TValue> に値が反映される SortedDictionary<TKey,TValue>.ValueCollection。
例外
dictionary が nullです。
注釈
静的SortedDictionary<TKey,TValue>.ValueCollectionコピーではありません。代わりに、元SortedDictionary<TKey,TValue>のSortedDictionary<TKey,TValue>.ValueCollection値を参照します。 したがって、変更が SortedDictionary<TKey,TValue> 継続 SortedDictionary<TKey,TValue>.ValueCollectionされ、.
このコンストラクターは O(1) 操作です。