ILNumerics Ultimate VS

BaseArrayGetItem Method

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieve the value of the element addressed by the sequential index in i.

[ILNumerics Core Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public abstract Object GetItem(
	long i
)

Parameters

i
Type: SystemInt64
Sequential index (1 dim), taking the striding (Size) of this array into account.

Return Value

Type: Object
Boxed copy of the element at position i if the elements stored in this array are structs. Otherwise a reference copy of the element at i is returned.
Remarks

This function provides a way to access element values of this untyped base array for convenience reasons. It is needed in very rare cases only. Don't expect great performance from using untyped functions like this! The recommended performant way is to use the strongly typed classes (ArrayT, Logical, Cell) and the corresponding typed API functions only.

[ILNumerics Core Module]

See Also

Reference