Method UnionWith
UnionWith(CharArraySet, IEnumerable<Byte>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
public static bool UnionWith(this CharArraySet set, IEnumerable<byte> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.Byte> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|
UnionWith(CharArraySet, IEnumerable<Char>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
public static bool UnionWith(this CharArraySet set, IEnumerable<char> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.Char> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|
UnionWith(CharArraySet, IEnumerable<Int32>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
public static bool UnionWith(this CharArraySet set, IEnumerable<int> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.Int32> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|
UnionWith(CharArraySet, IEnumerable<Int64>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
public static bool UnionWith(this CharArraySet set, IEnumerable<long> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.Int64> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|
UnionWith(CharArraySet, IEnumerable<SByte>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
[CLSCompliant(false)]
public static bool UnionWith(this CharArraySet set, IEnumerable<sbyte> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.SByte> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|
UnionWith(CharArraySet, IEnumerable<Int16>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
public static bool UnionWith(this CharArraySet set, IEnumerable<short> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.Int16> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|
UnionWith(CharArraySet, IEnumerable<UInt32>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
[CLSCompliant(false)]
public static bool UnionWith(this CharArraySet set, IEnumerable<uint> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.UInt32> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|
UnionWith(CharArraySet, IEnumerable<UInt64>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
[CLSCompliant(false)]
public static bool UnionWith(this CharArraySet set, IEnumerable<ulong> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.UInt64> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|
UnionWith(CharArraySet, IEnumerable<UInt16>)
Modifies the current CharArraySet to contain all elements that are present in itself, the specified collection, or both.
Declaration
[CLSCompliant(false)]
public static bool UnionWith(this CharArraySet set, IEnumerable<ushort> other)
Parameters
Type | Name | Description |
---|---|---|
CharArraySet | set | this CharArraySet |
System.Collections.Generic.IEnumerable<System.UInt16> | other | The collection whose elements should be merged into the CharArraySet. |
Returns
Type | Description |
---|---|
System.Boolean |
|