Click or drag to resize
ProfileDeleteSubKey Method
Delete a registry key for the given DriverID. SubKey may contain \ separated path to key to be deleted.

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public void DeleteSubKey(
	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
Exceptions
ExceptionCondition
InvalidValueExceptionThrown if DriverID is an empty string.
DriverNotRegisteredExceptionThrown if the driver is not registered,
Remarks
The sub-key and all data and keys beneath it are deleted.
See Also