
## get_by_name(name) {#str}

Gets or a sets a document variable by the case-insensitive name.
``None`` values are not allowed as a right hand side of the assignment and will be replaced by empty string.



```python
def get_by_name(self, name: str):
    ...
```

| Parameter | Type | Description |
| --- | --- | --- |
| name | str |  |

### See Also

* module [aspose.words](../../)
* class [VariableCollection](../)

