Foundation.NSObject.Copy Method
Performs a copy of the underlying Objective-C object.

Syntax

[Foundation.Export("copy")]
[return:ObjCRuntime.Release]
public virtual NSObject Copy ()

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.

Remarks

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

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0