Düzenle

Aracılığıyla paylaş


BaseWrapper(IntPtr, Boolean) Constructor

Definition

Base wrapper constructor, takes both a handle to an unmanaged Objective-C object, and a boolean indicating the ownership of the object.

public BaseWrapper (IntPtr handle, bool owns);
new ObjCRuntime.BaseWrapper : nativeint * bool -> ObjCRuntime.BaseWrapper

Parameters

handle
IntPtr

nativeint

Handle to the unmanaged Objective-C object.

owns
Boolean

If true, the object is already owned by managed code, if false, the object is not owned, so the Objective-C method retain is invoked on the handle object.

Remarks

Applies to