Click or drag to resize

IJsMapToReadOnlyDictionaryTKey, TVal Method

Copies the contents of the IJsMap to a new IReadOnlyDictionaryTKey, TValue.

Namespace:  DotNetBrowser.Js.Collections
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.25.1
Syntax
C#
IReadOnlyDictionary<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: IReadOnlyDictionaryTKey, TVal
A IReadOnlyDictionaryTKey, TValue that contains key-value pairs from the IJsMap.
Exceptions
ExceptionCondition
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