Upravit

Sdílet prostřednictvím


NSDictionary.LowlevelObjectForKey(IntPtr) Method

Definition

Low-level key lookup.

public IntPtr LowlevelObjectForKey (IntPtr key);
member this.LowlevelObjectForKey : nativeint -> nativeint

Parameters

key
IntPtr

nativeint

A handle to an NSObject that might be on the dictionary.

Returns

IntPtr

nativeint

Handle to an object, or IntPtr.Zero if the key does not exist in the dictionary.

Remarks

In some cases, where you might be iterating over a loop, or you have not surfaced a bound type, but you have the handle to the key, you can use the LowlevelObjectForKey(IntPtr) which takes a handle for the key and returns a handle for the returned object.

Applies to