NSOrderedSet<TKey>.AsSet Method

Definition

Converts the ordered set to an unordered NSSet<TKey>.

public Foundation.NSSet<TKey>? AsSet();
public Foundation.NSSet<TKey> AsSet();
override this.AsSet : unit -> Foundation.NSSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>

Returns

An unordered set containing all the objects from the ordered set.

Applies to