ContentControl.PlaceholderText 属性

定义

返回一个 BuildingBlock 对象,表示内容控件的占位符文本。Returns a BuildingBlock object that represents the placeholder text for a content control. 只读。Read-only.

public:
 property Microsoft::Office::Interop::Word::BuildingBlock ^ PlaceholderText { Microsoft::Office::Interop::Word::BuildingBlock ^ get(); };
public Microsoft.Office.Interop.Word.BuildingBlock PlaceholderText { get; }
member this.PlaceholderText : Microsoft.Office.Interop.Word.BuildingBlock
Public ReadOnly Property PlaceholderText As BuildingBlock

属性值

BuildingBlock

返回 BuildingBlockReturns BuildingBlock.

注解

使用 SetPlaceholderText(BuildingBlock, Range, String) 方法设置内容控件的占位符文本。Use the SetPlaceholderText(BuildingBlock, Range, String) method to set the placeholder text for a content control.

适用于