Düzenle

Aracılığıyla paylaş


Categories Interface

Definition

Represents a collection of building block categories.

public interface class Categories
[System.Runtime.InteropServices.Guid("6E47678B-A879-4E56-8698-3B7CF169FAD4")]
public interface Categories
type Categories = interface
Public Interface Categories
Attributes

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

Properties

Application

Returns an _Application object that represents the Microsoft Word application.

Count

Returns the number of items in the Categories collection. Read-only.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.

Parent

Returns the parent object of the specified Categories collection.

Methods

Item(Object)

Returns the specified item in the collection.

Applies to