Edit

Share via


Range.Text Property

Definition

Returns or sets the text in the specified range.

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

Property Value

Remarks

The Text property returns the plain, unformatted text of the selection or range. When you set this property, the text of the range or selection is replaced.

Applies to