Click or drag to resize
ProfileDeleteValue Method (String, String, String)
Delete the value from the registry. Name may be an empty string for the unnamed value. Value will be deleted from the subkey supplied.

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.3.0.2839)
Syntax
public void DeleteValue(
	string DriverID,
	string Name,
	string SubKey
)

Parameters

DriverID
Type: SystemString
ProgID of the device to read from
Name
Type: SystemString
Name of the variable whose value is retrieved
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
Specify "" to delete the unnamed value which is also known as the "default" value for a registry key.
See Also