Share via


TextRetrievalMode.IncludeFieldCodes Property

True if the text retrieved from the specified range includes field codes.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property IncludeFieldCodes As Boolean
    Get
    Set
'Usage
Dim instance As TextRetrievalMode
Dim value As Boolean

value = instance.IncludeFieldCodes

instance.IncludeFieldCodes = value
bool IncludeFieldCodes { get; set; }

Property Value

Type: System.Boolean

Remarks

Note The default value is the same as the setting of the Field codes option on the View tab in the Options dialog box (Tools menu) until this property has been set. Use the Text property with a Range object to retrieve text from the specified range.

See Also

Reference

TextRetrievalMode Interface

TextRetrievalMode Members

Microsoft.Office.Interop.Word Namespace