ProfileSubKeys(String, String) Method |
Return a list of the sub-keys under the given DriverID
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntaxpublic ArrayList SubKeys(
string DriverID,
string SubKey
)
Public Function SubKeys (
DriverID As String,
SubKey As String
) As ArrayList
public:
virtual ArrayList^ SubKeys(
String^ DriverID,
String^ SubKey
) sealed
Parameters
- DriverID String
- ProgID of the device to read from
- SubKey String
- Subkey from the profile root in which to write the value
Return Value
ArrayListAn ArrayList of key-value pairs
RemarksThe 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