Profile.SubKeys Method (String)
Click or drag to resize

ProfileSubKeys Method (String)

Return a list of the sub-keys under the root of the given DriverID

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.4.0.2624)
Syntax
public ArrayList SubKeys(
	string DriverID
)

Parameters

DriverID
Type: SystemString
ProgID of the device to read from

Return Value

Type: ArrayList
An ArrayList of key-value pairs
Remarks
The returned object 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