編輯

共用方式為


NSValue.Copy(NSZone) Method

Definition

Performs a copy of the underlying Objective-C object.

[Foundation.Export("copyWithZone:")]
public virtual Foundation.NSObject Copy (Foundation.NSZone zone);
override this.Copy : Foundation.NSZone -> Foundation.NSObject

Parameters

zone
NSZone

Zone to use to allocate this object, or null to use the default zone.

Returns

This method performs a copy of the underlying Objective-C object state and returns a new instance of it. It does not actually try to replicate any managed state.

Implements

Attributes

Remarks

Implementation of the INSCopyable interface.

Applies to