Converts a safearray of strings to a collection that can be used in scripting. This is required to do things such as handling the array of names returned by the FilterWheel.Names property. This string array won'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 ToStringCollection(
	string[] stringArray
)
Visual Basic
Function ToStringCollection ( _
	stringArray As String() _
) As ArrayList
Visual C++
ArrayList^ ToStringCollection(
	array<String^>^ stringArray
)

Parameters

stringArray
Type: array<System..::..String>[]()[][]
array of strings

Return Value

Collection of strings

Remarks