Click or drag to resize

IJsSet.ToReadOnlyCollection<T> Method

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

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

Type Parameters

T

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

Return Value

Type: IReadOnlyCollection<T>
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