NSDictionary.LowlevelObjectForKey(IntPtr) 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.
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
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.