NSObject.Copy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs a copy of the underlying Objective-C object.
[Foundation.Export("copy")]
public virtual Foundation.NSObject Copy ();
abstract member Copy : unit -> Foundation.NSObject
override this.Copy : unit -> Foundation.NSObject
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.
- Attributes
Remarks
Convenience method that calls the Copy(null) method. This is an implementation of the INSCopyable interface.