Writes a string value to the profile using the supplied subkey for the given Driver ID and variable name.

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
void WriteValue(
	string DriverID,
	string Name,
	string Value,
	string SubKey
)
Visual Basic
Sub WriteValue ( _
	DriverID As String, _
	Name As String, _
	Value As String, _
	SubKey As String _
)
Visual C++
void WriteValue(
	String^ DriverID, 
	String^ Name, 
	String^ Value, 
	String^ SubKey
)

Parameters

DriverID
Type: System..::..String
ProgID of the device to read from
Name
Type: System..::..String
Name of the variable whose value is retrieved
Value
Type: System..::..String
The string value to be written
SubKey
Type: System..::..String
Subkey from the profile root in which to write the value

Remarks