Sprache

AEAssessmentBinaryExecutableConfiguration.Copy(NSZone) Methode

Definition

Führt eine Kopie des zugrunde liegenden Objective-C-Objekts aus.

[Foundation.Export("copyWithZone:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSObject Copy(Foundation.NSZone? zone);
[<Foundation.Export("copyWithZone:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.Copy : Foundation.NSZone -> Foundation.NSObject

Parameter

zone
NSZone

Entwickler sollten übergeben null. Speicherzonen werden nicht mehr verwendet.

Gibt zurück

Das neu zugeordnete Objekt.

Implementiert

Attribute

Hinweise

Diese Methode führt eine "flache Kopie" von this. Wenn dieses Objekt Verweise auf externe Objekte enthält, enthält das neue Objekt Verweise auf dasselbe Objekt.

Gilt für: