Delete the value from the registry. Name may be an empty string for the unnamed value.

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

Syntax

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

Parameters

DriverID
Type: System..::..String
ProgID of the device to read from
Name
Type: System..::..String
Name of the variable whose value is retrieved

Remarks

Specify "" to delete the unnamed value which is also known as the "default" value for a registry key.

This overload is not available through COM, please use "DeleteValue(ByVal DriverID As String, ByVal Name As String, ByVal SubKey As String)" with SubKey set to empty string achieve this effect.

See Also