This documentation is archived and is not being maintained.

NameValueCollection.Add Method

Adds entries to the current NameValueCollection.

Overload List

Copies the entries in the specified NameValueCollection to the current NameValueCollection.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Sub Add(NameValueCollection)
[C#] public void Add(NameValueCollection);
[C++] public: void Add(NameValueCollection*);
[JScript] public function Add(NameValueCollection);

Adds an entry with the specified name and value to the NameValueCollection.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Overridable Sub Add(String, String)
[C#] public virtual void Add(string, string);
[C++] public: virtual void Add(String*, String*);
[JScript] public function Add(String, String);

See Also

NameValueCollection Class | NameValueCollection Members | System.Collections.Specialized Namespace

Show: