Click or drag to resize

IFrameCreateJsArrayT Method

Creates a new IJsArray and copies the contents of the IEnumerableT to it.

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

Parameters

enumerable
Type: System.Collections.GenericIEnumerableT
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 IEnumerableT.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IFrame object has already been disposed.
Remarks
The values are converted to their JavaScript representations during copying.
See Also