Partager via


ContentControl.BuildingBlockType Property

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

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

Syntax

'Declaration
Property BuildingBlockType As WdBuildingBlockTypes
    Get
    Set
'Usage
Dim instance As ContentControl
Dim value As WdBuildingBlockTypes

value = instance.BuildingBlockType

instance.BuildingBlockType = value
WdBuildingBlockTypes BuildingBlockType { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdBuildingBlockTypes
WdBuildingBlockTypes

Remarks

This property applies only to building block content controls and corresponds with the Gallery option in the Content Control Properties dialog box. You can set this property only for the following building block types:

  • Custom 1 through Custom 5

  • Autotext

  • Quick Parts

  • Custom Autotext

  • Custom Quick Parts

  • Equations

See Also

Reference

ContentControl Interface

ContentControl Members

Microsoft.Office.Interop.Word Namespace