Edit

Share via


ReadOnlySet<T>(ISet<T>) Constructor

Definition

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