Return a list of the (unnamed and named variables) under the root of the given DriverID.

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

Syntax

C#
public ArrayList Values(
	string DriverID
)
Visual Basic
Public Function Values ( _
	DriverID As String _
) As ArrayList
Visual C++
public:
virtual ArrayList^ Values(
	String^ DriverID
) sealed

Parameters

DriverID
Type: System..::..String
ProgID of the device to read from

Return Value

An ArrayList of KeyValuePairs

Implements

IProfileExtra..::..Values(String)

Remarks

The returned object contains entries for each value. For each entry, the Key property is the value's name, and the Value property is the string value itself. Note that the unnamed (default) value will be included if it has a value, even if the value is a blank string. The unnamed value will have its entry's Key property set to an empty string.

The KeyValuePair objects are instances of the KeyValuePair class

See Also