Click or drag to resize

IFrameCreateJsMapTKey, TValue Method (IReadOnlyDictionaryTKey, TValue)

Creates a new IJsMap and copies the contents of the IReadOnlyDictionaryTKey, TValue to it.

Namespace:  DotNetBrowser.Frames
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.13.0
Syntax
C#
IJsMap CreateJsMap<TKey, TValue>(
	IReadOnlyDictionary<TKey, TValue> dictionary
)

Parameters

dictionary
Type: System.Collections.GenericIReadOnlyDictionaryTKey, TValue
The dictionary to copy elements from.

Type Parameters

TKey

[Missing <typeparam name="TKey"/> documentation for "M:DotNetBrowser.Frames.IFrame.CreateJsMap``2(System.Collections.Generic.IReadOnlyDictionary{``0,``1})"]

TValue

[Missing <typeparam name="TValue"/> documentation for "M:DotNetBrowser.Frames.IFrame.CreateJsMap``2(System.Collections.Generic.IReadOnlyDictionary{``0,``1})"]

Return Value

Type: IJsMap
An IJsMap that contains values from the provided dictionary.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IFrame object has already been disposed.
Remarks
The values are converted to their JavaScript representations during copying.
See Also