Click or drag to resize
ProfileValues Method (String, String)
Return a list of the (unnamed and named variables) under the given DriverID and subkey.

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.2.0.2774)
Syntax
public ArrayList Values(
	string DriverID,
	string SubKey
)

Parameters

DriverID
Type: SystemString
ProgID of the device to read from
SubKey
Type: SystemString
Subkey from the profile root in which to write the value

Return Value

Type: ArrayList
An ArrayList of KeyValuePairs
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