NSOrderedSet<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(NSOrderedSet<TKey>, NSOrderedSet<TKey>) |
Combines two ordered sets into a new ordered set. |
| Addition(NSOrderedSet<TKey>, NSSet<TKey>) |
Combines an ordered set with an unordered set into a new ordered set. |
Addition(NSOrderedSet<TKey>, NSOrderedSet<TKey>)
Combines two ordered sets into a new ordered set.
public static Foundation.NSOrderedSet<TKey>? operator +(Foundation.NSOrderedSet<TKey>? first, Foundation.NSOrderedSet<TKey>? second);
static member ( + ) : Foundation.NSOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> * Foundation.NSOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> -> Foundation.NSOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>
Parameters
- first
- NSOrderedSet<TKey>
The first ordered set.
- second
- NSOrderedSet<TKey>
The second ordered set.
Returns
A new ordered set containing the union of both sets, or null if both sets are null.
Applies to
Addition(NSOrderedSet<TKey>, NSSet<TKey>)
Combines an ordered set with an unordered set into a new ordered set.
public static Foundation.NSOrderedSet<TKey>? operator +(Foundation.NSOrderedSet<TKey>? first, Foundation.NSSet<TKey>? second);
static member ( + ) : Foundation.NSOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> * Foundation.NSSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> -> Foundation.NSOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>
Parameters
- first
- NSOrderedSet<TKey>
The ordered set.
- second
- NSSet<TKey>
The unordered set.
Returns
A new ordered set containing the union of both sets, or null if both sets are null.