Share via


DictionaryContainer.SetArrayValue Method

Definition

Overloads

Name Description
SetArrayValue(NSString, NSNumber[])

Associates the NSNumber array values with key.

SetArrayValue(NSString, INativeObject[])

Associates an array of INativeObject with key.

SetArrayValue(NSString, String[])

Associates a string array with key.

SetArrayValue<T>(NSString, T[])

Associates an array of T with key.

SetArrayValue<T>(NSString, T[], Func<T,NativeHandle>)

Associates an array of T with key.

SetArrayValue(NSString, NSNumber[])

Associates the NSNumber array values with key.

protected void SetArrayValue(Foundation.NSString key, Foundation.NSNumber[]? values);
member this.SetArrayValue : Foundation.NSString * Foundation.NSNumber[] -> unit

Parameters

key
NSString

The identifier of the value to get.

values
NSNumber[]

The NSNumber array to be associated with key. Pass null to remove any existing association.

Applies to

SetArrayValue(NSString, INativeObject[])

Associates an array of INativeObject with key.

protected void SetArrayValue(Foundation.NSString key, ObjCRuntime.INativeObject[]? values);
member this.SetArrayValue : Foundation.NSString * ObjCRuntime.INativeObject[] -> unit

Parameters

key
NSString

The identifier of the value to get.

values
INativeObject[]

The array of INativeObject to be associated with key. Pass null to remove any existing association.

Applies to

SetArrayValue(NSString, String[])

Associates a string array with key.

protected void SetArrayValue(Foundation.NSString key, string[]? values);
member this.SetArrayValue : Foundation.NSString * string[] -> unit

Parameters

key
NSString

The identifier of the value to get.

values
String[]

The string to be associated with key. Pass null to remove any existing association.

Applies to

SetArrayValue<T>(NSString, T[])

Associates an array of T with key.

protected void SetArrayValue<T>(Foundation.NSString key, T[]? values);
member this.SetArrayValue : Foundation.NSString * 'T[] -> unit

Type Parameters

T

Parameters

key
NSString

The identifier of the value to get.

values
T[]

The array of T to be associated with key. Pass null to remove any existing association.

Applies to

SetArrayValue<T>(NSString, T[], Func<T,NativeHandle>)

Associates an array of T with key.

protected void SetArrayValue<T>(Foundation.NSString key, T[]? values, Func<T,ObjCRuntime.NativeHandle> convert);
member this.SetArrayValue : Foundation.NSString * 'T[] * Func<'T, ObjCRuntime.NativeHandle> -> unit

Type Parameters

T

Parameters

key
NSString

The identifier of the value to get.

values
T[]

The array of T to be associated with key. Pass null to remove any existing association.

convert
Func<T,NativeHandle>

A callback to convert between the array's element type to NativeHandle

Applies to