ProfileDeleteValue(DeviceTypes, String, String, String) Method

Deletes a value from the given sub-key in the device's registry Profile.

Definition

Namespace: ASCOM.Com
Assembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
C#
public static void DeleteValue(
	DeviceTypes deviceType,
	string progId,
	string valueName,
	string subKey
)

Parameters

deviceType  DeviceTypes
Device type e.g. Telescope.
progId  String
COM ProgID of the device.
valueName  String
Name of this parameter.
subKey  String
Name of the sub-key under which to read this value.

Exceptions

InvalidValueExceptionIf device type, progId, name or value are null or invalid.
InvalidValueExceptionIf the sub-key only contains white space.

Version Information

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also