ReadOnlySet<T>(ISet<T>) 构造函数

定义

初始化 ReadOnlySet<T> 类的新实例,该类是指定集周围的包装器。

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))

参数

set
ISet<T>

要包装的集。

适用于