ReadOnlyDictionary(IDictionary) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ReadOnlyDictionary
public:
ReadOnlyDictionary(System::Collections::Generic::IDictionary ^ dictionary);
public ReadOnlyDictionary(System.Collections.Generic.IDictionary 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
The dictionary to wrap.
Exceptions
dictionary is null.