See Also: ReleaseAttribute Members
The Xamarin.iOS runtime uses this attribute to determine the reference counting behavior on the boundary between Objective-C and managed code.
C# Example
class MyUrl : NSUrl { // NSUrl implements NSCopying public override NSObject Clone () { return base.Clone (); } }
In this example Xamarin.iOS will first call 'release' on the object returned by [NSUrl clone] (the call to base.Clone), then call 'retain' as the object is returned to Objective-C.