ProfileDeleteSubKey Method
Deletes a sub-key under the device's Profile root. Nested sub-keys can be deleted by separating levels with "\" characters in the sub-key string.
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static void DeleteSubKey(
DeviceTypes deviceType,
string progId,
string subKey
)
Public Shared Sub DeleteSubKey (
deviceType As DeviceTypes,
progId As String,
subKey As String
)
Parameters
- deviceType DeviceTypes
- Device type e.g. Telescope.
- progId String
- COM ProgID of the device.
- subKey String
- Name of the sub-key to delete based on the device's Profile root.
Supported in: 2.0