Mono Class Library: System.Collections.Specialized Namespace

System.Collections.Specialized.NameValueCollection Class

Represents a collection of associated string keys and string values. [Edit]

See Also: NameValueCollection Members

System.Object
     System.Collections.Specialized.NameObjectCollectionBase
          System.Collections.Specialized.NameValueCollection

public class NameValueCollection : NameObjectCollectionBase

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

This class can be used for headers, query strings and form data. Each key in the collection is associated with one or more values. Multiple values for a particular key are contained in a single string .

The capacity is the number of key-and-value pairs that the System.Collections.Specialized.NameValueCollection can contain. The default initial capacity is zero. The capacity is automatically increased as required.

The hash code provider dispenses hash codes for keys in the System.Collections.Specialized.NameValueCollection.

The comparer determines whether two keys are equal.

[Edit]

Requirements

Namespace: System.Collections.Specialized
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0