MLMultiArray.SetObject 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
SetObject(NSNumber, NSNumber[]) |
Sets the value at |
SetObject(NSNumber, nint) |
Sets the value at |
SetObject(NSNumber, nint[]) |
Sets the element at |
SetObject(NSNumber, NSNumber[])
Sets the value at key
to obj
.
[Foundation.Export("setObject:forKeyedSubscript:")]
public virtual void SetObject (Foundation.NSNumber obj, Foundation.NSNumber[] key);
abstract member SetObject : Foundation.NSNumber * Foundation.NSNumber[] -> unit
override this.SetObject : Foundation.NSNumber * Foundation.NSNumber[] -> unit
Parameters
- obj
- NSNumber
The new value.
- key
- NSNumber[]
A numeric identifier for the object to set.
- Attributes
Applies to
SetObject(NSNumber, nint)
Sets the value at idx
to obj
, as if the array were single-dimensional.
[Foundation.Export("setObject:atIndexedSubscript:")]
public virtual void SetObject (Foundation.NSNumber obj, nint idx);
abstract member SetObject : Foundation.NSNumber * nint -> unit
override this.SetObject : Foundation.NSNumber * nint -> unit
Parameters
- obj
- NSNumber
The new value.
- idx
- System.System.IntPtr System.nativeint
A numeric identifier for the object to set.
- Attributes
Applies to
SetObject(NSNumber, nint[])
Sets the element at indices
.
[ObjCRuntime.TV(11, 0)]
[ObjCRuntime.Watch(4, 0)]
public void SetObject (Foundation.NSNumber obj, params nint[] indices);
member this.SetObject : Foundation.NSNumber * nint[] -> unit
Parameters
- obj
- NSNumber
The new value
- indices
-
System.System.IntPtr[]
System.nativeint[]
The multidimensional coordinate of the item to set
- Attributes