Categories interface
Office 2013 and later
Represents a collection of building block categories.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Use the Item(Object) method to access an exising category. You can then use the BuildingBlocks property to access a collection of BuildingBlock objects for the category.
Use the Item(Object) method to access an exising category; to create a new category, use the Add(String, WdBuildingBlockTypes, String, Range, Object, WdDocPartInsertOptions) method of the BuildingBlockEntries collection. Set the value of the Category parameter.
For more information about building blocks, see Working with Building Blocks.
Show: