bool TryGetValue(string key, out SettingValue value)

Gets the value associated with the specified key.

Parameters

Name Description
key The key of the value to get.
value When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return

true if the SettingsCollectionBase contains an element with the specified key; otherwise, false.