Selection.Text 属性

定义

返回或设置指定的选定内容中的文本。

public:
 property System::String ^ default { System::String ^ get(); void set(System::String ^ value); };
public string this { get; set; }
member this.Text : string with get, set
Default Public Property Text As String

属性值

注解

Text 属性返回选定内容或区域的无格式文本。 当设置此属性时,将替换该区域或所选内容的文本。

适用于