DictionaryContainer.SetArrayValue 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.
Overloads
| Name | Description |
|---|---|
| SetArrayValue(NSString, NSNumber[]) |
Associates the NSNumber array |
| SetArrayValue(NSString, INativeObject[]) |
Associates an array of INativeObject with |
| SetArrayValue(NSString, String[]) |
Associates a |
| SetArrayValue<T>(NSString, T[]) |
Associates an array of |
| SetArrayValue<T>(NSString, T[], Func<T,NativeHandle>) |
Associates an array of |
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