Click or drag to resize

IJsSetToReadOnlyCollection 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<Object> ToReadOnlyCollection()

Return Value

Type: IReadOnlyCollectionObject
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