IJsMap.ToReadOnlyDictionary<TKey, TVal> Method |
Copies the contents of the
IJsMap to a new
IReadOnlyDictionary<TKey, TValue>.
Namespace:
DotNetBrowser.Js.Collections
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.9
SyntaxIReadOnlyDictionary<TKey, TVal> ToReadOnlyDictionary<TKey, TVal>()
Type Parameters
- TKey
[Missing <typeparam name="TKey"/> documentation for "M:DotNetBrowser.Js.Collections.IJsMap.ToReadOnlyDictionary``2"]
- TVal
[Missing <typeparam name="TVal"/> documentation for "M:DotNetBrowser.Js.Collections.IJsMap.ToReadOnlyDictionary``2"]
Return Value
Type:
IReadOnlyDictionary<TKey,
TVal>
A
IReadOnlyDictionary<TKey, TValue> that contains key-value pairs
from the
IJsMap.
ExceptionsException | Condition |
---|
ObjectDisposedException |
The IJsMap has already been disposed.
|
ArgumentException |
The elements in this IJsMap cannot be converted to the specified type.
|
Remarks
Proxy objects are mapped to the corresponding injected .NET objects.
See Also