편집

다음을 통해 공유


Dlfcn.GetStringConstant(IntPtr, String) Method

Definition

Gets the NSString value exposed with the given symbol from the dynamic library.

public static Foundation.NSString GetStringConstant (IntPtr handle, string symbol);
static member GetStringConstant : nativeint * string -> Foundation.NSString

Parameters

handle
IntPtr

nativeint

Handle to the dynamic library previously opened with dlopen(String, Int32).

symbol
String

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

Returns

The value from the library, or null on error.

Remarks

If this routine fails, it will return null.

Applies to