XMLProfileGetValue(String, String) Method

Gets a key's current value, setting and returning the supplied default value if the key does not already exist

Definition

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

Parameters

key  String
Key name
defaultValue  String
Value to be set and returned if the key does not already exist.

Return Value

String
String key value.

Implements

IProfileGetValue(String, String)

Version Information

.NET Standard

Supported in: 2.0

See Also