Edytuj

Udostępnij za pośrednictwem


MLMultiArray.GetObject Method

Definition

Overloads

GetObject(nint[])

Retrieves the element at indices.

GetObject(NSNumber[])

Retrieves the element at the point specified by key.

GetObject(nint)

Retrieves the element at idx, as if the array were single-dimensional.

GetObject(nint[])

Retrieves the element at indices.

[ObjCRuntime.TV(11, 0)]
[ObjCRuntime.Watch(4, 0)]
public Foundation.NSNumber GetObject (params nint[] indices);
member this.GetObject : nint[] -> Foundation.NSNumber

Parameters

indices

System.System.IntPtr[]

System.nativeint[]

A multidimensional coordinate for the object to get.

Returns

Attributes

Applies to

GetObject(NSNumber[])

Retrieves the element at the point specified by key.

[Foundation.Export("objectForKeyedSubscript:")]
public virtual Foundation.NSNumber GetObject (Foundation.NSNumber[] key);
abstract member GetObject : Foundation.NSNumber[] -> Foundation.NSNumber
override this.GetObject : Foundation.NSNumber[] -> Foundation.NSNumber

Parameters

key
NSNumber[]

A numeric identifier for the object to get.

Returns

Attributes

Applies to

GetObject(nint)

Retrieves the element at idx, as if the array were single-dimensional.

[Foundation.Export("objectAtIndexedSubscript:")]
public virtual Foundation.NSNumber GetObject (nint idx);
abstract member GetObject : nint -> Foundation.NSNumber
override this.GetObject : nint -> Foundation.NSNumber

Parameters

idx
System.System.IntPtr System.nativeint

A numeric identifier for the object to get.

Returns

Attributes

Applies to