IProfileGetValue(String, String) Method
Gets the value associated with a key. Returns the defaultValue if that key does not exist. This will not store that key / value pair in the profile.
Namespace: ASCOM.Common.InterfacesAssembly: ASCOM.Common (in ASCOM.Common.dll) Version: 4.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
string GetValue(
string key,
string defaultValue
)
Function GetValue (
key As String,
defaultValue As String
) As String
- key String
- The key to lookup
- defaultValue String
- The value to return if the key does not exist
StringThe stored value.
Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10