ASCOMProfileSetValue(String, String, String) Method |
Set a value
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntaxpublic 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
- "Subkey continaining the value
RemarksChanging 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