ProfileGetValue(String, String, String) Method |
Retrieve a string value from the profile using the supplied subkey for the given Driver ID and variable name.
Namespace: ASCOM.UtilitiesAssembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntaxpublic string GetValue(
string DriverID,
string Name,
string SubKey
)
Public Function GetValue (
DriverID As String,
Name As String,
SubKey As String
) As String
public:
virtual String^ GetValue(
String^ DriverID,
String^ Name,
String^ SubKey
) sealed
Parameters
- DriverID String
- ProgID of the device to read from
- Name String
- Name of the variable whose value is retrieved
- SubKey String
- Subkey from the profile root from which to read the value
Return Value
StringRetrieved variable value
Exceptions
RemarksName may be an empty string for the unnamed value. The unnamed value is also known as the "default" value for a registry key.
Does not provide access to other registry data types such as binary and double-word.
See Also