Method CreateJsArray
- Namespace
- DotNetBrowser.Frames
- Assembly
- DotNetBrowser.dll
CreateJsArray<T>(IEnumerable<T>)
Creates a new IJsArray and copies the contents of the IEnumerable<T> to it.
IJsArray CreateJsArray<T>(IEnumerable<T> enumerable)
Parameters
enumerable
IEnumerable<T>The enumerable to copy values from.
Returns
- IJsArray
An IJsArray that contains values from the IEnumerable<T>.
Type Parameters
T
Remarks
The values are converted to their JavaScript representations during copying.
Exceptions
- ObjectDisposedException
The IFrame object has already been disposed.