Click or drag to resize

IJsArray.ToReadOnlyList<T> Method

Copies the contents of the IJsArray to a new IReadOnlyList<T>.

Namespace:  DotNetBrowser.Js.Collections
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
IReadOnlyList<T> ToReadOnlyList<T>()

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:DotNetBrowser.Js.Collections.IJsArray.ToReadOnlyList``1"]

Return Value

Type: IReadOnlyList<T>
A IReadOnlyList<T> that contains elements from the IJsArray.
Exceptions
ExceptionCondition
ObjectDisposedException The IJsArray has already been disposed.
Remarks
Proxy objects are mapped to the corresponding injected .NET objects.
See Also