Click or drag to resize

IJsSet.ToReadOnlyCollection Method

Copies the contents of the IJsSet to a new IReadOnlyCollection<T>.

Namespace:  DotNetBrowser.Js.Collections
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.26.1
Syntax
C#
IReadOnlyCollection<Object> ToReadOnlyCollection()

Return Value

Type: IReadOnlyCollection<Object>
A IReadOnlyCollection<T> that contains values from the IJsSet.
Exceptions
ExceptionCondition
ObjectDisposedException The IJsSet has already been disposed.
ArgumentException The elements in this IJsSet cannot be converted to the specified type.
Remarks
Proxy objects are mapped to the corresponding injected .NET objects.
See Also