ImmutableHashSet<T>.ISet<T>.UnionWith Method
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.
Modifies the current set so that it contains all elements that are present in either the current set or in the specified collection.
virtual void System.Collections.Generic.ISet<T>.UnionWith(System::Collections::Generic::IEnumerable<T> ^ other) = System::Collections::Generic::ISet<T>::UnionWith;
void ISet<T>.UnionWith (System.Collections.Generic.IEnumerable<T> other);
abstract member System.Collections.Generic.ISet<T>.UnionWith : seq<'T> -> unit
override this.System.Collections.Generic.ISet<T>.UnionWith : seq<'T> -> unit
Sub UnionWith (other As IEnumerable(Of T)) Implements ISet(Of T).UnionWith
Parameters
- other
- IEnumerable<T>
The collection to compare to the current set.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ImmutableHashSet<T> instance is cast to an ISet<T> interface.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET