Mono.Data.Sqlite.SqliteConnection.FindKey C# (CSharp) Method

FindKey() static private method

Looks for a key in the array of key/values of the parameter string. If not found, return the specified default value
static private FindKey ( string>.SortedList items, string key, string defValue ) : string
items string>.SortedList The list to look in
key string The key to find
defValue string The default value to return if the key is not found
return string
    static internal string FindKey(SortedList<string, string> items, string key, string defValue)
    {
      string ret;

      if (items.TryGetValue(key, out ret)) return ret;

      return defValue;
    }