
## set_property {#str-str}

Used to set a property value with default priority within this declaration block.
Default priority is not "important" i.e. String.Empty



```python
def set_property(self, property_name, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| property_name | str | Name of the property. |
| value | str | The value. |


## set_property {#str-str-str}

Used to set a property value and priority within this declaration block.



```python
def set_property(self, property_name, value, priority):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| property_name | str | Name of the property. |
| value | str | The value. |
| priority | str | The priority. |



### See Also
* module [`aspose.html.dom.css`](../../)
* class [`ICSSStyleDeclaration`](/html/python-net/aspose.html.dom.css/icssstyledeclaration)
