Export (0) Print
Expand All

Categories interface

Represents a collection of building block categories.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("6E47678B-A879-4E56-8698-3B7CF169FAD4")]
public interface Categories

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:
© 2014 Microsoft