IProfileSubKeys Method

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

Definition

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
ArrayList SubKeys(
	string DriverID,
	string SubKey
)

Parameters

DriverID  String
ProgID of the device to read from
SubKey  String
Sub-key from the profile root in which to search for sub-keys

Return Value

ArrayList
An ArrayList of key-value pairs

Remarks

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