編集

次の方法で共有


Dlfcn.GetCGRect(IntPtr, String) Method

Definition

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

public static CoreGraphics.CGRect GetCGRect (IntPtr handle, string symbol);
static member GetCGRect : nativeint * string -> CoreGraphics.CGRect

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 an empty CGRect on failure.

Remarks

If this routine fails to find the symbol, this will return an empty CGRect.

Applies to