---
title: "add method"
url: "https://reference.aspose.com/finance/python-net/aspose.finance.xbrl/schemarefcollection/add/"
product: "Aspose.Finance for Python via .NET API References"
---


## add(href, namespace_prefix) {#str-str}

Add a [SchemaRef](/finance/python-net/aspose.finance.xbrl/schemaref) to the collection.

### Returns 


[SchemaRef](/finance/python-net/aspose.finance.xbrl/schemaref) object index.


```python
def add(self, href, namespace_prefix):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| href | str | Schema reference href URI. |
| namespace_prefix | str | Schema reference namespace prefix |


## add(href, namespace_prefix, namspace_uri) {#str-str-str}

Add a [SchemaRef](/finance/python-net/aspose.finance.xbrl/schemaref) to the collection.

### Returns 


[SchemaRef](/finance/python-net/aspose.finance.xbrl/schemaref) object index.


```python
def add(self, href, namespace_prefix, namspace_uri):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| href | str | Schema reference href URI. |
| namespace_prefix | str | Schema reference namespace prefix |
| namspace_uri | str | Schema reference namespace URI. |



### See Also
* module [aspose.finance.xbrl](../../)
* class [SchemaRefCollection](/finance/python-net/aspose.finance.xbrl/schemarefcollection)
