Source/Csla/NameValueListBase.cs
/// <summary>
/// Returns the value corresponding to the
/// specified key.
/// </summary>
/// <param name="key">Key value for which to retrieve a value.</param>
Returns the value corresponding to the
specified key.
Returns the value corresponding to the specified key .
public V Value(K key)
    {
      foreach (NameValuePair item in this)
        if (item.Key.Equals(key))
          return item.Value;
      return default(V);
    }
public V Value ( K key ) { foreach ( NameValuePair item in this ) if ( item . Key . Equals ( key ) ) return item . Value ; return default ( V ) ; }
Returns the value corresponding to the
specified key.
Returns the value corresponding to the specified key .
key
K
Key value for which to retrieve a value.
Key value for which to retrieve a value .