MLMultiArray.GetObject 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
GetObject(nint[]) |
Retrieves the element at |
GetObject(NSNumber[]) |
Retrieves the element at the point specified by |
GetObject(nint) |
Retrieves the element at |
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