
## BuildingBlock.name property

Gets or sets the name of this building block.


```js
get name(): string
```

### Remarks

The name may contain any string content, usually a friendly identifier.
Multiple building blocks can have the same name.

Cannot be ``null`` and cannot be an empty string.

Corresponds to the **docPartPr.name** element in OOXML.




### See Also

* module [Aspose.Words](../../)
* class [BuildingBlock](../)
* property [BuildingBlock.gallery](../gallery/)
* property [BuildingBlock.category](../category/)

