Condividi tramite


NSMutableOrderedSet<TKey>.Subtraction Operator

Definition

Overloads

Name Description
Subtraction(NSMutableOrderedSet<TKey>, NSMutableOrderedSet<TKey>)

Computes the difference between two ordered sets.

Subtraction(NSMutableOrderedSet<TKey>, NSOrderedSet<TKey>)

Computes the difference between two ordered sets.

Subtraction(NSMutableOrderedSet<TKey>, NSSet<TKey>)

Computes the difference between an ordered set and a set.

Subtraction(NSMutableOrderedSet<TKey>, NSMutableOrderedSet<TKey>)

Computes the difference between 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

first
NSMutableOrderedSet<TKey>

The ordered set to subtract from.

second
NSMutableOrderedSet<TKey>

The ordered set to subtract.

Returns

A new NSMutableOrderedSet<TKey> containing objects in first but not in second, or null if first is null.

Applies to

Subtraction(NSMutableOrderedSet<TKey>, NSOrderedSet<TKey>)

Computes the difference between 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

first
NSMutableOrderedSet<TKey>

The ordered set to subtract from.

second
NSOrderedSet<TKey>

The ordered set to subtract.

Returns

A new NSMutableOrderedSet<TKey> containing objects in first but not in second, or null if first is null.

Applies to

Subtraction(NSMutableOrderedSet<TKey>, NSSet<TKey>)

Computes the difference between 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

first
NSMutableOrderedSet<TKey>

The ordered set to subtract from.

second
NSSet<TKey>

The set to subtract.

Returns

A new NSMutableOrderedSet<TKey> containing objects in first but not in second, or null if first is null.

Applies to