Edytuj

Udostępnij za pośrednictwem


NSMutableOrderedSet<TKey> Constructors

Definition

Overloads

NSMutableOrderedSet<TKey>()
NSMutableOrderedSet<TKey>(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

NSMutableOrderedSet<TKey>(NSMutableOrderedSet<TKey>)
NSMutableOrderedSet<TKey>(NSOrderedSet<TKey>)
NSMutableOrderedSet<TKey>(NSSet<TKey>)
NSMutableOrderedSet<TKey>(nint)
NSMutableOrderedSet<TKey>(TKey)
NSMutableOrderedSet<TKey>(TKey[])

NSMutableOrderedSet<TKey>()

public NSMutableOrderedSet ();

Applies to

NSMutableOrderedSet<TKey>(NSCoder)

A constructor that initializes the object from the data stored in the unarchiver object.

public NSMutableOrderedSet (Foundation.NSCoder coder);
new Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> : Foundation.NSCoder -> Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>

Parameters

coder
NSCoder

The unarchiver object.

Remarks

This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the NSCoding protocol.

If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type NSCoder and decorate it with the [Export("initWithCoder:"] attribute declaration.

The state of this object can also be serialized by using the companion method, EncodeTo.

Applies to

NSMutableOrderedSet<TKey>(NSMutableOrderedSet<TKey>)

public NSMutableOrderedSet (Foundation.NSMutableOrderedSet<TKey> other);
new 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

Applies to

NSMutableOrderedSet<TKey>(NSOrderedSet<TKey>)

public NSMutableOrderedSet (Foundation.NSOrderedSet<TKey> other);
new 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

Applies to

NSMutableOrderedSet<TKey>(NSSet<TKey>)

public NSMutableOrderedSet (Foundation.NSSet<TKey> source);
new 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

source
NSSet<TKey>

Applies to

NSMutableOrderedSet<TKey>(nint)

public NSMutableOrderedSet (nint capacity);
new Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> : nint -> Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>

Parameters

capacity
System.System.IntPtr System.nativeint

Applies to

NSMutableOrderedSet<TKey>(TKey)

public NSMutableOrderedSet (TKey start);
new Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> : 'Key -> Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>

Parameters

start
TKey

Applies to

NSMutableOrderedSet<TKey>(TKey[])

public NSMutableOrderedSet (params TKey[] objs);
new Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)> : 'Key[] -> Foundation.NSMutableOrderedSet<'Key (requires 'Key : null and 'Key :> ObjCRuntime.INativeObject)>

Parameters

objs
TKey[]

Applies to