NSOrderedSet<TKey>.AsSet Method
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.
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.