Array

Description

The Array class implements properties and methods of the Array data type and also variables that have this data type.

Properties of Variables of the Array Type

  Property name Brief description
Length The Length property returns the number of all array elements.
Rank The Rank property returns the number of array dimensions.

Methods of Variables of the Array Type

  Method name Brief description
ArrayOperation The ArrayOperation method executes arithmetic operation with array elements.
Concat The Concat method concatenates elements of two arrays into a new array by extending the current array by the specified dimension.
GetLowerBound The GetLowerBound method returns the lower limit of the dimension, the number of which is passed as the input parameter.
GetType The GetType method returns the type of data contained in the array.
GetUpperBound The GetUpperBound method returns the upper limit of the dimension, the number of which is passed as the input parameter.
IndexOf The IndexOf method searches for the specified value in the array and returns the index of the first occurrence of the corresponding element.
LastIndexOf The LastIndexOf method searches for the specified value in the array and returns the index of the last occurrence of the corresponding element.
Operation The Operation method executes arithmetic operation with array elements with the specified value.
Sort The Sort method sorts array elements in the ascending order.
ToSimpleArray The ToSimpleArray method creates a new array by converting the source array with the Variant type into an array with a simple data type.
ToVariantArray The ToVariantArray method creates a new array by converting the source array into the array with the Variant type.

See also:

System Assembly Classes