SubKeys Method
Return a list of the sub-keys under the given DriverID (for COM clients)

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


ArrayList SubKeys(
	string DriverID,
	string SubKey
Visual Basic
Function SubKeys ( _
	DriverID As String, _
	SubKey As String _
) As ArrayList
Visual C++
ArrayList^ SubKeys(
	String^ DriverID, 
	String^ SubKey


Type: System..::..String
ProgID of the device to read from
Type: System..::..String
Subkey from the profile root in which to search for subkeys

Return Value

An ArrayList of key-value pairs


The returned object (scripting.dictionary) contains entries for each sub-key. For each KeyValuePair in the list, the Key property is the sub-key name, and the Value property is the value. The unnamed ("default") value for that key is also returned.

The KeyValuePair objects are instances of the KeyValuePair class

See Also