Share via


TextRange2.Text Property

Gets or sets a String value that represents the text in a text range. Read/write.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Default Property Text As String
    Get
    Set
'Usage
Dim instance As TextRange2
Dim value As String

value = instance

instance = value
string this { get; set; }

Property Value

Type: System.String
String

See Also

Reference

TextRange2 Interface

TextRange2 Members

Microsoft.Office.Core Namespace