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)

Syntax

'Declaration
<GuidAttribute("6E47678B-A879-4E56-8698-3B7CF169FAD4")> _
Public Interface Categories
'Usage
Dim instance As Categories
[GuidAttribute("6E47678B-A879-4E56-8698-3B7CF169FAD4")]
public interface Categories

Remarks

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.

See Also

Reference

Categories Members

Microsoft.Office.Interop.Word Namespace