Delete a registry key for the given DriverID. SubKey may contain \ separated path to key to be deleted.

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
void DeleteSubKey(
	string DriverID,
	string SubKey
)
Visual Basic
Sub DeleteSubKey ( _
	DriverID As String, _
	SubKey As String _
)
Visual C++
void DeleteSubKey(
	String^ DriverID, 
	String^ SubKey
)

Parameters

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

Remarks

The sub-key and all data and keys beneath it are deleted.

See Also