ProfileSetValue(DeviceTypes, String, String, String, String) Method
Set a value in the device's registry Profile.
Namespace: ASCOM.ComAssembly: ASCOM.Com (in ASCOM.Com.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
public static void SetValue(
DeviceTypes deviceType,
string progId,
string valueName,
string value,
string subkey
)
Public Shared Sub SetValue (
deviceType As DeviceTypes,
progId As String,
valueName As String,
value As String,
subkey As String
)
Parameters
- deviceType DeviceTypes
- Device type e.g. Telescope.
- progId String
- COM ProgID of the device.
- valueName String
- Name of this parameter.
- value String
- Value to be set.
- subkey String
- Name of the sub-key under which to place this value.
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10