Method GetString
GetString(String, String)
Retrieves the string value of a corresponding key from the remote service, if one exists.
Declaration
public string GetString(string key, string defaultValue = "")
Parameters
Type | Name | Description |
---|---|---|
String | key | The key identifying the corresponding setting. |
String | defaultValue | The default value to use if the specified key cannot be found or is unavailable. |
Returns
Type | Description |
---|---|
String | A string representation of the key from the remote service, if one exists. If one does not exist, the defaultValue is returned ("" if none is supplied.) |