Click or drag to resize

IJsArrayToReadOnlyListT Method

Copies the contents of the IJsArray to a new IReadOnlyListT.

Namespace:  DotNetBrowser.Js.Collections
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.17.0
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: IReadOnlyListT
A IReadOnlyListT 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