Writes a string value to the profile using 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
)
Visual Basic
Sub WriteValue ( _
	DriverID As String, _
	Name As String, _
	Value As String _
)
Visual C++
void WriteValue(
	String^ DriverID, 
	String^ Name, 
	String^ Value
)

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

Remarks

This overload is not available through COM, please use "WriteValue(ByVal DriverID As String, ByVal Name As String, ByVal Value As String, ByVal SubKey As String)" with SubKey set to empty string achieve this effect.

See Also