Click or drag to resize

IFrame.CreateJsArray<T> Method

Creates a new IJsArray and copies the contents of the IEnumerable<T> to it.

Namespace:  DotNetBrowser.Frames
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.14.0
Syntax
C#
IJsArray CreateJsArray<T>(
	IEnumerable<T> enumerable
)

Parameters

enumerable
Type: System.Collections.Generic.IEnumerable<T>
The enumerable to copy values from.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:DotNetBrowser.Frames.IFrame.CreateJsArray``1(System.Collections.Generic.IEnumerable{``0})"]

Return Value

Type: IJsArray
An IJsArray that contains values from the IEnumerable<T>.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IFrame object has already been disposed.
Remarks
The values are converted to their JavaScript representations during copying.
See Also