ASCOMProfileSetValue(String, String, String) Method

Set a value

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public void SetValue(
	string Name,
	string Value,
	string SubKeyName
)

Parameters

Name  String
Name of the value to set
Value  String
Value to be set
SubKeyName  String
"Sub-key containing the value

Remarks

Changing a value with this method does NOT change the underlying profile store, only the value in this class. In order to persist the new value, the class should be written back to the profile store through Profile.SetProfile.

See Also