Compartir a través de


NSMutableOrderedSet<TKey> Constructores

Definición

Sobrecargas

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

Constructor que inicializa el objeto a partir de los datos almacenados en el objeto unarchiver.

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 ();

Se aplica a

NSMutableOrderedSet<TKey>(NSCoder)

Constructor que inicializa el objeto a partir de los datos almacenados en el objeto unarchiver.

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)>

Parámetros

coder
NSCoder

Objeto unarchiver.

Comentarios

Este constructor se proporciona para permitir que la clase se inicialice desde un archivador (por ejemplo, durante la deserialización de NIB). Esto forma parte del NSCoding protocolo.

Si los desarrolladores quieren crear una subclase de este objeto y seguir admitiendo la deserialización desde un archivo, deben implementar un constructor con una firma idéntica: tomar un único parámetro de tipo NSCoder y decorarlo con la declaración de atributo [Export("initWithCoder:"].

El estado de este objeto también se puede serializar mediante el método complementario EncodeTo.

Se aplica a

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)>

Parámetros

Se aplica a

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)>

Parámetros

Se aplica a

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)>

Parámetros

source
NSSet<TKey>

Se aplica a

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)>

Parámetros

capacity
System.System.IntPtr System.nativeint

Se aplica a

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)>

Parámetros

start
TKey

Se aplica a

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)>

Parámetros

objs
TKey[]

Se aplica a