The members of System.Collections.Specialized.NameValueCollection are listed below.
See Also: Inherited members from System.Collections.Specialized.NameObjectCollectionBase
Public Constructors
Protected Constructors
| | Documentation for this section has not yet been entered. |
Public Properties
[read-only] | AllKeys | string[]. Gets all the keys in the current instance. |
[read-only] | Count | int. Gets the number of elements contained in the current
instance. |
[read-only] default property | Item(int) | string. Gets the value in the current instance that is associated with the
specified index. |
default property | Item(string) | string. Gets or sets the value in the current instance that is associated with the
specified key. |
Protected Properties
| IsReadOnly | bool. Gets or sets a value indicating whether the current instance is read-only. |
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
Extension Methods