ProfileValues(String, String) Method
Return a list of the (unnamed and named variables) under the given DriverID and sub-key.
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
public ArrayList Values(
string DriverID,
string SubKey
)
Public Function Values (
DriverID As String,
SubKey As String
) As ArrayList
public:
virtual ArrayList^ Values(
String^ DriverID,
String^ SubKey
) sealed
- DriverID String
- ProgID of the device to read from
- SubKey String
- Sub-key from the profile root in which to write the value
ArrayListAn ArrayList of KeyValuePairs
IProfileValues(String, String) 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