Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the category of building blocks that are displayed in a ContentControl that represents a building block gallery.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Property BuildingBlockCategory As String
'Usage
Dim instance As ContentControl
Dim value As String
value = instance.BuildingBlockCategory
instance.BuildingBlockCategory = value
public string BuildingBlockCategory { get; set; }
public:
property String^ BuildingBlockCategory {
String^ get ();
void set (String^ value);
}
public function get BuildingBlockCategory () : String
public function set BuildingBlockCategory (value : String)
Property Value
Type: System.String
The category of the building blocks that are displayed in the ContentControl.
Remarks
This property is intended to be used only if the Type property of the ContentControl has the value WdContentControlTypewdContentControlBuildingBlockGallery. Otherwise, this property does nothing.
All building blocks belong to a category and a gallery. Use the BuildingBlockCategory property to specify the category of the building blocks that are displayed by the ContentControl. You can set the value of this property to the Built-In or General categories defined by Microsoft Office Word, or you can specify a custom category.
To specify which gallery of building blocks to display in the ContentControl, use the BuildingBlockType property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.