## XsltArgumentList::AddExtensionObject method


Adds a new object to the [XsltArgumentList](../) and associates it with the namespace URI.

```cpp
void System::Xml::Xsl::XsltArgumentList::AddExtensionObject(const String &namespaceUri, const SharedPtr<Object> &extension)
```


| Parameter | Type | Description |
| --- | --- | --- |
| namespaceUri | const String\& | The namespace URI to associate with the object. To use the default namespace, specify an empty string. |
| extension | const SharedPtr\<Object\>\& | The object to add to the list. |

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [XsltArgumentList](../)
* Namespace [System::Xml::Xsl](../../)
* Library [Aspose.PDF for C++](../../../)
