ReadOnlyDictionary<TKey,TValue>(IDictionary<TKey,TValue>) Constructor

Definitie

Initialiseert een nieuw exemplaar van de ReadOnlyDictionary<TKey,TValue> klasse die een wrapper rond de opgegeven woordenlijst is.

public:
 ReadOnlyDictionary(System::Collections::Generic::IDictionary<TKey, TValue> ^ dictionary);
public ReadOnlyDictionary(System.Collections.Generic.IDictionary<TKey,TValue> dictionary);
new System.Collections.ObjectModel.ReadOnlyDictionary<'Key, 'Value> : System.Collections.Generic.IDictionary<'Key, 'Value> -> System.Collections.ObjectModel.ReadOnlyDictionary<'Key, 'Value>
Public Sub New (dictionary As IDictionary(Of TKey, TValue))

Parameters

dictionary
IDictionary<TKey,TValue>

De woordenlijst die moet worden verpakt.

Uitzonderingen

dictionary is null.

Van toepassing op