iOS Guides | Samples

MonoTouch.UIKit.UIImage Constructor

A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public UIImage (IntPtr handle)

Parameters

handle
Pointer (handle) to the unmanaged object.

Remarks

This constructor is invoked by the runtime infrastructure (MonoTouch.ObjCRuntime.GetNSObject (IntPtr)) to create a new managed representation for a pointer to an unmanaged Objective-C object. You should not invoke this method directly, instead you should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0