MonoMac.ObjCRuntime.Dlfcn.GetStringConstant Method
Gets the NSString value exposed with the given symbol from the dynamic library.

Syntax

public static MonoMac.Foundation.NSString GetStringConstant (IntPtr handle, string symbol)

Parameters

handle
Handle to the dynamic library previously opened with dlopen.
symbol
Name of the public symbol in the dynamic library to look up.

Returns

The value from the library, or null on error.

Remarks

This routine silently fails and returns the default value for stringconstant.

Requirements

Namespace: MonoMac.ObjCRuntime
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0