NSMutableOrderedSet<TKey>.Addition Operator
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.
Overloads
| Name | Description |
|---|---|
| Addition(NSMutableOrderedSet<TKey>, NSMutableOrderedSet<TKey>) |
Computes the union of two ordered sets. |
| Addition(NSMutableOrderedSet<TKey>, NSOrderedSet<TKey>) |
Computes the union of two ordered sets. |
| Addition(NSMutableOrderedSet<TKey>, NSSet<TKey>) |
Computes the union of an ordered set and a set. |
Addition(NSMutableOrderedSet<TKey>, NSMutableOrderedSet<TKey>)
Computes the union of two ordered sets.
public static Foundation.NSMutableOrderedSet<TKey> operator +(Foundation.NSMutableOrderedSet<TKey> first, Foundation.NSMutableOrderedSet<TKey> second);
public static Foundation.NSMutableOrderedSet<TKey>? operator +(Foundation.NSMutableOrderedSet<TKey>? first, Foundation.NSMutableOrderedSet<TKey>? second);
static member ( + ) : Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> * Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> -> Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>
Parameters
The first ordered set.
- second
- NSMutableOrderedSet<TKey>
The second ordered set.
Returns
A new NSMutableOrderedSet<TKey> containing all objects from both ordered sets, or null if both are null.
Applies to
Addition(NSMutableOrderedSet<TKey>, NSOrderedSet<TKey>)
Computes the union of two ordered sets.
public static Foundation.NSMutableOrderedSet<TKey> operator +(Foundation.NSMutableOrderedSet<TKey> first, Foundation.NSOrderedSet<TKey> second);
public static Foundation.NSMutableOrderedSet<TKey>? operator +(Foundation.NSMutableOrderedSet<TKey>? first, Foundation.NSOrderedSet<TKey>? second);
static member ( + ) : Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> * Foundation.NSOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> -> Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>
Parameters
The first ordered set.
- second
- NSOrderedSet<TKey>
The second ordered set to add.
Returns
A new NSMutableOrderedSet<TKey> containing all objects from both ordered sets, or null if both are null.
Applies to
Addition(NSMutableOrderedSet<TKey>, NSSet<TKey>)
Computes the union of an ordered set and a set.
public static Foundation.NSMutableOrderedSet<TKey> operator +(Foundation.NSMutableOrderedSet<TKey> first, Foundation.NSSet<TKey> second);
public static Foundation.NSMutableOrderedSet<TKey>? operator +(Foundation.NSMutableOrderedSet<TKey>? first, Foundation.NSSet<TKey>? second);
static member ( + ) : Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> * Foundation.NSSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> -> Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>
Parameters
The ordered set.
- second
- NSSet<TKey>
The set to add to the ordered set.
Returns
A new NSMutableOrderedSet<TKey> containing all objects from both collections, or null if both are null.