Share via


DictionaryContainer.SetNativeValue(NSString, INativeObject, Boolean) Method

Definition

Associates a nullable INativeObject value with key.

protected void SetNativeValue(Foundation.NSString key, ObjCRuntime.INativeObject? value, bool removeNullValue = true);
member this.SetNativeValue : Foundation.NSString * ObjCRuntime.INativeObject * bool -> unit

Parameters

key
NSString

The identifier of the value to get.

value
INativeObject

The nullable INativeObject value to be associated with key. Pass null to remove any existing association.

removeNullValue
Boolean

Specifies whether any existing values should be removed if value is null.

Applies to