NSObject.Copy NSObject.Copy Method


Performs a copy of the underlying Objective-C object.

public virtual Foundation.NSObject Copy ();
abstract member Copy : unit -> Foundation.NSObject
override this.Copy : unit -> Foundation.NSObject


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.


Convenience method that calls the Copy(null) method. This is an implementation of the INSCopyable interface.

Applies to