This documentation is archived and is not being maintained.
NameValueCollection Constructor
Visual Studio 2010
Initializes a new instance of the NameValueCollection class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
NameValueCollection() | Initializes a new instance of the NameValueCollection class that is empty, has the default initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer. |
|
NameValueCollection(IEqualityComparer) | Initializes a new instance of the NameValueCollection class that is empty, has the default initial capacity, and uses the specified IEqualityComparer object. |
|
NameValueCollection(Int32) | Initializes a new instance of the NameValueCollection class that is empty, has the specified initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer. |
|
NameValueCollection(NameValueCollection) | Copies the entries from the specified NameValueCollection to a new NameValueCollection with the same initial capacity as the number of entries copied and using the same hash code provider and the same comparer as the source collection. |
|
NameValueCollection(IHashCodeProvider, IComparer) | Obsolete. Initializes a new instance of the NameValueCollection class that is empty, has the default initial capacity and uses the specified hash code provider and the specified comparer. |
|
NameValueCollection(Int32, IEqualityComparer) | Initializes a new instance of the NameValueCollection class that is empty, has the specified initial capacity, and uses the specified IEqualityComparer object. |
|
NameValueCollection(Int32, NameValueCollection) | Copies the entries from the specified NameValueCollection to a new NameValueCollection with the specified initial capacity or the same initial capacity as the number of entries copied, whichever is greater, and using the default case-insensitive hash code provider and the default case-insensitive comparer. |
|
NameValueCollection(SerializationInfo, StreamingContext) | Initializes a new instance of the NameValueCollection class that is serializable and uses the specified System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext. |
|
NameValueCollection(Int32, IHashCodeProvider, IComparer) | Obsolete. Initializes a new instance of the NameValueCollection class that is empty, has the specified initial capacity and uses the specified hash code provider and the specified comparer. |
Show: