## NameValueCollection::Add(const String\&) method


Override [ICollection](../../../system.collections/icollection/) method - not implemented.

```cpp
virtual void System::Collections::Specialized::NameValueCollection::Add(const String &item) override
```

## See Also

* Class [String](../../../system/string/)
* Class [NameValueCollection](../)
* Namespace [System::Collections::Specialized](../../)
* Library [Aspose.PUB for C++](../../../)
## NameValueCollection::Add(const System::SharedPtr\<NameValueCollection\>\&) method


Copies the entries in the specified [NameValueCollection](../) to the current.

```cpp
void System::Collections::Specialized::NameValueCollection::Add(const System::SharedPtr<NameValueCollection> &c)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [NameValueCollection](../)
* Class [NameValueCollection](../)
* Namespace [System::Collections::Specialized](../../)
* Library [Aspose.PUB for C++](../../../)
## NameValueCollection::Add(const String\&, const String\&) method


Adds an entry with the specified name and value.

```cpp
virtual void System::Collections::Specialized::NameValueCollection::Add(const String &name, const String &value)
```

## See Also

* Class [String](../../../system/string/)
* Class [NameValueCollection](../)
* Namespace [System::Collections::Specialized](../../)
* Library [Aspose.PUB for C++](../../../)
