Compartilhar via


NSMutableOrderedSet<TKey> Construtores

Definição

Sobrecargas

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

Um construtor que inicializa o objeto dos dados armazenados no 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 ();

Aplica-se a

NSMutableOrderedSet<TKey>(NSCoder)

Um construtor que inicializa o objeto dos dados armazenados no 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

O objeto unarchiver.

Comentários

Esse construtor é fornecido para permitir que a classe seja inicializada de um unarchiver (por exemplo, durante a desserialização do NIB). Isso faz parte do NSCoding protocolo.

Se os desenvolvedores quiserem criar uma subclasse desse objeto e continuar a dar suporte à desserialização de um arquivo morto, eles deverão implementar um construtor com uma assinatura idêntica: pegar um único parâmetro do tipo NSCoder e decorá-lo com a declaração de atributo [Export("initWithCoder:"].

O estado desse objeto também pode ser serializado usando o método complementar EncodeTo.

Aplica-se 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

Aplica-se 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

Aplica-se 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>

Aplica-se 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

Aplica-se 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

Aplica-se 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[]

Aplica-se a