Share via


Dlfcn.SetObject(IntPtr, String, NSObject) Method

Definition

Sets the specified symbol in the library handle to the specified NSObject value.

public static void SetObject(IntPtr handle, string symbol, Foundation.NSObject? value);
static member SetObject : nativeint * string * Foundation.NSObject -> unit

Parameters

handle
IntPtr

nativeint

Handle to the dynamic library previously opened with dlopen(String, Dlfcn+Mode).

symbol
String

Name of the public symbol in the dynamic library to look up.

value
NSObject

The object to set, can be null.

Remarks

The previous object value is not released, it is up to the developer to release the handle to that object if needed.

Applies to