Initializes a new instance of the NameValueCollection class.

Overload List

  NameDescription
Public methodNameValueCollection()()()()
Initializes a new instance of the NameValueCollection class that is empty and has the default initial capacity.
Public methodNameValueCollection(Int32)
Initializes a new instance of the NameValueCollection class that is empty and has the specified initial capacity.
Public methodNameValueCollection(NameValueCollection)
Initializes a new instance of the NameValueCollection class that contains elements copied from the specified collection and that has the same initial capacity as the number of elements copied.
Public methodNameValueCollection(array<NameValueEntry>[]()[][])
Initializes a new instance of the NameValueCollection class that contains elements copied from the specified NameValueEntry array and that has the same initial capacity as the number of elements copied.

See Also