The
methods
of System.Collections.Specialized.NameValueCollection are listed below. For a list of all members, see the NameValueCollection Members list.
See Also: Inherited members from System.Collections.Specialized.NameObjectCollectionBase
Public Methods
| Add(NameValueCollection)Copies the entries from the specified System.Collections.Specialized.NameValueCollection to
the current instance. |
| Add(string, string)Adds an entry with the specified key and value to the current instance. |
| Clear()Invalidates the cached arrays and removes all entries from
the current instance. |
| CopyTo(Array, int)Copies the elements from the current instance to the specified Array, starting at the specified
index in that array. |
| Get(int) : string Returns the values at the
specified index of the
current instance. |
| Get(string) : string Gets the values associated with the specified key from
the current instance combined into one comma-separated list. |
| GetKey(int) : stringReturns the key at the specified index of the current
instance. |
| GetValues(int) : string[] Returns an array that contains the values at the
specified index of the current instance. |
| GetValues(string) : string[]Gets the values associated with the specified key from
the current instance. |
| HasKeys() : boolGets a bool value indicating whether the current instance
contains keys that are not null. |
| Remove(string)Removes the entry with the specified key from the current instance. |
| Set(string, string)Sets the value of the specified entry in the current
instance to the specified value. |
Protected Methods