
## __init__ {#}

Create a new instance of the [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent) class.



```python
def __init__(self):
    ...
```




## __init__ {#str}

Create a new instance of the [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent) class  with subtype.



```python
def __init__(self, subtype):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| subtype | str | The subtype |


## __init__ {#str-str}

Create a new instance of the [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent) class  with subtype and boundary.



```python
def __init__(self, subtype, boundary):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| subtype | str | The subtype |
| boundary | str | The boundary |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentException | The argument cannot be null or empty string. |





### See Also
* module [`aspose.html.net`](../../)
* class [`MultipartContent`](/html/python-net/aspose.html.net/multipartcontent)
