Category Category Category Interface
Represents an individual category of a building block type.
public interface class Category
[System.Runtime.InteropServices.Guid("ECFBDB5E-ACD2-4530-AD79-4560B7FF055C")] public interface Category
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
For more information about building blocks, see Working with Building Blocks
|Application Application Application||
Returns an _Application object that represents the Microsoft Word application.
|BuildingBlocks BuildingBlocks BuildingBlocks||
Returns the building blocks for a category. Read-only.
|Creator Creator Creator||
Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.
|Index Index Index||
Returns the position of an item in a collection. Read-only.
|Name Name Name||
Returns the name of the specified object. Read-only.
|Parent Parent Parent||
Returns the parent object of the specified Category object.
|Type Type Type||
Returns the type of building block for a building block category. Read-only.