ReadOnlySet<T>(ISet<T>) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ReadOnlySet<T> class that is a wrapper around the specified set.
public:
ReadOnlySet(System::Collections::Generic::ISet<T> ^ set);
public ReadOnlySet (System.Collections.Generic.ISet<T> set);
new System.Collections.ObjectModel.ReadOnlySet<'T> : System.Collections.Generic.ISet<'T> -> System.Collections.ObjectModel.ReadOnlySet<'T>
Public Sub New (set As ISet(Of T))
Parameters
- set
- ISet<T>
The set to wrap.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.