This documentation is archived and is not being maintained.

ContentControl.BuildingBlockCategory Property

Returns or sets the category for a building block content control. Read/write.

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

string BuildingBlockCategory { get; set; }

Property Value

Type: System.String

This property applies only to building block content controls and corresponds with the Category option in the Content Control Properties dialog box. You can set this property to any string; however, if you set it to a string for which there is no corresponding category, the value of the Category option is set to "(All Categories)".