ContentControl.BuildingBlockType プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ビルド ブロック ギャラリーを表す ContentControl に表示されるビルド ブロックの種類を取得または設定します。
public:
property Microsoft::Office::Interop::Word::WdBuildingBlockTypes BuildingBlockType { Microsoft::Office::Interop::Word::WdBuildingBlockTypes get(); void set(Microsoft::Office::Interop::Word::WdBuildingBlockTypes value); };
public Microsoft.Office.Interop.Word.WdBuildingBlockTypes BuildingBlockType { get; set; }
member this.BuildingBlockType : Microsoft.Office.Interop.Word.WdBuildingBlockTypes with get, set
Public Property BuildingBlockType As WdBuildingBlockTypes
プロパティ値
コントロールに表示されるビルド ブロックの種類。
例外
プロパティが、 で表示できないビルド ブロックのカテゴリを示す ContentControlMicrosoft.Office.Interop.Word.WdBuildingBlockTypes 値に設定されています。
注釈
このプロパティは、 の プロパティContentControlの値Microsoft.Office.Interop.Word.WdContentControlType.wdContentControlBuildingBlockGallery
が Type である場合にのみ使用することを目的としています。 それ以外の場合、このプロパティは何も行いません。
すべての文書パーツは、ギャラリーとカテゴリに属します。 プロパティを BuildingBlockType 使用して、 に表示する文書パーツのギャラリーを ContentControl指定します。
には ContentControl 、文書パーツの特定のギャラリーのみを表示できます。 プロパティは BuildingBlockType 、次 Microsoft.Office.Interop.Word.WdBuildingBlockTypes
の値にのみ設定できます。
wdTypeAutoText
wdTypeCustom1
wdTypeCustom2
wdTypeCustom3
wdTypeCustom4
wdTypeCustom5
wdTypeCustomAutoText
wdTypeCustomEquations
wdTypeCustomQuickParts
wdTypeCustomTables
wdTypeEquations
wdTypeQuickParts
wdTypeTables
によって ContentControl表示される文書パーツのカテゴリを指定するには、 プロパティを BuildingBlockCategory 使用します。