NameValueCollection Constructor
Initializes a new instance of the NameValueCollection class.
Assembly: System (in System.dll)
| 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(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) | 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(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, 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. |
![]() | 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(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(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. |

