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.

Definition

Namespace: ASCOM.Common.Interfaces
Assembly: ASCOM.Common (in ASCOM.Common.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
string GetValue(
	string key,
	string defaultValue
)

Parameters

key  String
The key to lookup
defaultValue  String
The value to return if the key does not exist

Return Value

String
The stored value.

Version Information

.NET Standard

Supported in: 2.0

See Also