Düzenle

Aracılığıyla paylaş


MLMultiArray.SetObject Method

Definition

Overloads

SetObject(NSNumber, NSNumber[])

Sets the value at key to obj.

SetObject(NSNumber, nint)

Sets the value at idx to obj, as if the array were single-dimensional.

SetObject(NSNumber, nint[])

Sets the element at indices.

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

Applies to