Share via


MLMultiArray.GetObject Method

Definition

Overloads

Name Description
GetObject(NSNumber[])

Retrieves the element at the point specified by key.

GetObject(IntPtr)

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

GetObject(IntPtr[])

Retrieves the element at indices.

GetObject(NSNumber[])

Retrieves the element at the point specified by key.

[Foundation.Export("objectForKeyedSubscript:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSNumber GetObject(Foundation.NSNumber[] key);
[<Foundation.Export("objectForKeyedSubscript:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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(IntPtr)

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

[Foundation.Export("objectAtIndexedSubscript:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSNumber GetObject(IntPtr idx);
[<Foundation.Export("objectAtIndexedSubscript:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetObject : nativeint -> Foundation.NSNumber
override this.GetObject : nativeint -> Foundation.NSNumber

Parameters

idx
IntPtr

nativeint

A numeric identifier for the object to get.

Returns

Attributes

Applies to

GetObject(IntPtr[])

Retrieves the element at indices.

public Foundation.NSNumber GetObject(params IntPtr[] indices);
member this.GetObject : nativeint[] -> Foundation.NSNumber

Parameters

indices

IntPtr[]

nativeint[]

A multidimensional coordinate for the object to get.

Returns

Applies to