ASCOMProfileSetValue(String, String, String) Method
Set a value
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
public void SetValue(
string Name,
string Value,
string SubKeyName
)
Public Sub SetValue (
Name As String,
Value As String,
SubKeyName As String
)
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
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.