ProfileDeleteValue(String, String) Method |
Delete the value from the registry. Name may be an empty string for the unnamed value.
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
)
Public Sub DeleteValue (
DriverID As String,
Name As String
)
public:
virtual void DeleteValue(
String^ DriverID,
String^ Name
) sealed
Parameters
- DriverID String
- ProgID of the device to read from
- Name String
- Name of the variable whose value is retrieved
Exceptions
RemarksSpecify "" 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