Represents an individual category of a building block type.
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
'Declaration <GuidAttribute("ECFBDB5E-ACD2-4530-AD79-4560B7FF055C")> _ Public Interface Category 'Usage Dim instance As Category
[GuidAttribute("ECFBDB5E-ACD2-4530-AD79-4560B7FF055C")] public interface Category
Microsoft Office Word uses types and categories to organize building blocks. Each building block type is represented by a WdBuildingBlockTypes constant. Each category is a unique string that a user defines. Word comes with two categories already defined: "General" and "Custom"; you can create additional categories as you need.
Use the Item(Object%) method of the Categories collection 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.