IJsSetToReadOnlyCollectionT Method |
Copies the contents of the
IJsSet to a new
IReadOnlyCollectionT.
Namespace:
DotNetBrowser.Js.Collections
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax 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 Exception | Condition |
---|
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