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)
Usage
Dim textRetrievalMode1 As TextRetrievalMode
Dim returnValue As Boolean
returnValue = textRetrievalMode1.IncludeFieldCodes
Dim sampleValue As Boolean
textRetrievalMode1.IncludeFieldCodes = sampleValue
Syntax
Property IncludeFieldCodes() As Boolean
bool IncludeFieldCodes {get; set;}
property Boolean IncludeFieldCodes{
Boolean get();
Void set(Boolean);
}
public boolean get_IncludeFieldCodes();
public void set_IncludeFieldCodes(boolean);
function get IncludeFieldCodes() : Boolean;
function set IncludeFieldCodes(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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
TextRetrievalMode Interface
Microsoft.Office.Interop.Word Namespace