Share via


DictionaryContainer.GetNativeValue<T>(NSString) Method

Definition

Returns the nullable T associated with key.

protected T? GetNativeValue<T>(Foundation.NSString key) where T : class, ObjCRuntime.INativeObject;
member this.GetNativeValue : Foundation.NSString -> 'T (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Type Parameters

T

Parameters

key
NSString

The identifier of the value to get.

Returns

T

true if the specified key was found in the dictionary, false otherwise.

Applies to