Export (0) Print
Expand All

NameValueCollection Constructor

Initializes a new instance of the NameValueCollection class.

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.

Supported by the .NET Compact Framework.

NameValueCollection (IEqualityComparer) Initializes a new instance of the NameValueCollection class that is empty, has the default initial capacity, and uses the specified IEqualityComparer object.

Supported by the .NET Compact Framework.

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.

Supported by the .NET Compact Framework.

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.

Supported by the .NET Compact Framework.

NameValueCollection (IHashCodeProvider, IComparer) 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.

Supported by the .NET Compact Framework.

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.

Supported by the .NET Compact Framework.

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.

Supported by the .NET Compact Framework.

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) 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.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2014 Microsoft