Click or drag to resize

IJsSetToReadOnlyCollectionT Method

Copies the contents of the IJsSet to a new IReadOnlyCollectionT.

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