ProfileDeleteValue(String, String, String) Method |
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.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntaxpublic void DeleteValue(
string DriverID,
string Name,
string SubKey
)
Public Sub DeleteValue (
DriverID As String,
Name As String,
SubKey As String
)
public:
virtual void DeleteValue(
String^ DriverID,
String^ Name,
String^ SubKey
) sealed
Parameters
- DriverID String
- ProgID of the device to read from
- Name String
- Name of the variable whose value is retrieved
- SubKey String
- Subkey from the profile root in which to write the value
Exceptions
RemarksSpecify "" to delete the unnamed value which is also known as the "default" value for a registry key.
See Also