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)

bool IncludeFieldCodes { get; set; }

Property value

Type: System.Boolean

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.