Share via


MLMultiArray.SetObject Method

Definition

Overloads

Name Description
SetObject(NSNumber, NSNumber[])

Sets the value at key to obj.

SetObject(NSNumber, IntPtr)

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

SetObject(NSNumber, IntPtr[])

Sets the element at indices.

SetObject(NSNumber, NSNumber[])

Sets the value at key to obj.

[Foundation.Export("setObject:forKeyedSubscript:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetObject(Foundation.NSNumber obj, Foundation.NSNumber[] key);
[<Foundation.Export("setObject:forKeyedSubscript:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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, IntPtr)

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

[Foundation.Export("setObject:atIndexedSubscript:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetObject(Foundation.NSNumber obj, IntPtr idx);
[<Foundation.Export("setObject:atIndexedSubscript:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetObject : Foundation.NSNumber * nativeint -> unit
override this.SetObject : Foundation.NSNumber * nativeint -> unit

Parameters

obj
NSNumber

The new value.

idx
IntPtr

nativeint

A numeric identifier for the object to set.

Attributes

Applies to

SetObject(NSNumber, IntPtr[])

Sets the element at indices.

public void SetObject(Foundation.NSNumber obj, params IntPtr[] indices);
member this.SetObject : Foundation.NSNumber * nativeint[] -> unit

Parameters

obj
NSNumber

The new value

indices

IntPtr[]

nativeint[]

The multidimensional coordinate of the item to set

Applies to