Converts a safearray of integers to a collection that can be used in scripting languages. This is required to handle properties that are returned as safearrays of integers, for example FilterWheel.FocusOffsets SafeArrays don't work in scripting languages.

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
ArrayList ToIntegerCollection(
	int[] integerArray
)
Visual Basic
Function ToIntegerCollection ( _
	integerArray As Integer() _
) As ArrayList
Visual C++
ArrayList^ ToIntegerCollection(
	array<int>^ integerArray
)

Parameters

integerArray
Type: array<System..::..Int32>[]()[][]
array of integers

Return Value

Collection of Integers

Remarks