Dlfcn.SetObject(IntPtr, String, NSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.