Click or drag to resize

IFrameCreateJsMapTKey, TValue Method (IDictionaryTKey, TValue)

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

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

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTKey, 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.IDictionary{``0,``1})"]

TValue

[Missing <typeparam name="TValue"/> documentation for "M:DotNetBrowser.Frames.IFrame.CreateJsMap``2(System.Collections.Generic.IDictionary{``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