Partager via


WdFieldType Enumeration

Specifies a Microsoft Word field.

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

Syntax

'Declaration
Public Enumeration WdFieldType
'Usage
Dim instance As WdFieldType
public enum WdFieldType

Members

Member name Description
wdFieldEmpty Empty field. Acts as a placeholder for field content that has not yet been added. A field added by pressing Ctrl+F9 in the user interface is an Empty field.
wdFieldRef Ref field.
wdFieldIndexEntry XE (Index Entry) field.
wdFieldFootnoteRef FootnoteRef field. Not available through the Field dialog box. Inserted programmatically or interactively.
wdFieldSet Set field.
wdFieldIf If field.
wdFieldIndex Index field.
wdFieldTOCEntry TOC (Table of Contents Entry) field.
wdFieldStyleRef StyleRef field.
wdFieldRefDoc RD (Reference Document) field.
wdFieldSequence Seq (Sequence) field.
wdFieldTOC TOC (Table of Contents) field.
wdFieldInfo Info field.
wdFieldTitle Title field.
wdFieldSubject Subject field.
wdFieldAuthor Author field.
wdFieldKeyWord Keywords field.
wdFieldComments Comments field.
wdFieldLastSavedBy LastSavedBy field.
wdFieldCreateDate CreateDate field.
wdFieldSaveDate SaveDate field.
wdFieldPrintDate PrintDate field.
wdFieldRevisionNum RevNum field.
wdFieldEditTime EditTime field.
wdFieldNumPages NumPages field.
wdFieldNumWords NumWords field.
wdFieldNumChars NumChars field.
wdFieldFileName FileName field.
wdFieldTemplate Template field.
wdFieldDate Date field.
wdFieldTime Time field.
wdFieldPage Page field.
wdFieldExpression = (Formula) field.
wdFieldQuote Quote field.
wdFieldInclude Include field. Cannot be added through the Field dialog box, but can be added interactively or through code.
wdFieldPageRef PageRef field.
wdFieldAsk Ask field.
wdFieldFillIn Fill-In field.
wdFieldData Data field.
wdFieldNext Next field.
wdFieldNextIf NextIf field.
wdFieldSkipIf SkipIf field.
wdFieldMergeRec MergeRec field.
wdFieldDDE DDE field. No longer available through the Field dialog box, but supported for documents created in earlier versions of Microsoft Word.
wdFieldDDEAuto DDEAuto field. No longer available through the Field dialog box, but supported for documents created in earlier versions of Microsoft Word.
wdFieldGlossary Glossary field. No longer supported in Microsoft Word.
wdFieldPrint Print field.
wdFieldFormula EQ (Equation) field.
wdFieldGoToButton GoToButton field.
wdFieldMacroButton MacroButton field.
wdFieldAutoNumOutline AutoNumOut field.
wdFieldAutoNumLegal AutoNumLgl field.
wdFieldAutoNum AutoNum field.
wdFieldImport Import field. Cannot be added through the Field dialog box, but can be added interactively or through code.
wdFieldLink Link field.
wdFieldSymbol Symbol field.
wdFieldEmbed Embedded field.
wdFieldMergeField MergeField field.
wdFieldUserName UserName field.
wdFieldUserInitials UserInitials field.
wdFieldUserAddress UserAddress field.
wdFieldBarCode BarCode field.
wdFieldDocVariable DocVariable field.
wdFieldSection Section field.
wdFieldSectionPages SectionPages field.
wdFieldIncludePicture IncludePicture field.
wdFieldIncludeText IncludeText field.
wdFieldFileSize FileSize field.
wdFieldFormTextInput FormText field. Inserted with the Text Form Field button on the Forms toolbar rather than through the Fields dialog box or through code.
wdFieldFormCheckBox FormCheckBox field. Inserted with the Check Box Form Field button on the Forms toolbar rather than through the Field dialog box or through code.
wdFieldNoteRef NoteRef field.
wdFieldTOA TOA (Table of Authorities) field.
wdFieldTOAEntry TOA (Table of Authorities Entry) field.
wdFieldMergeSeq MergeSeq field.
wdFieldPrivate Private field.
wdFieldDatabase Database field.
wdFieldAutoText AutoText field.
wdFieldCompare Compare field.
wdFieldAddin Add-in field. Not available through the Field dialog box. Used to store data that is hidden from the user interface.
wdFieldSubscriber Subscriber field.
wdFieldFormDropDown FormDropDown field. Inserted with the Drop-Down Form Field button on the Forms toolbar rather than through the Field dialog box or through code.
wdFieldAdvance Advance field.
wdFieldDocProperty DocProperty field.
wdFieldOCX OCX field. Cannot be added through the Field dialog box, but can be added through code by using the AddOLEControl method of the FormFields collection.
wdFieldHyperlink Hyperlink field.
wdFieldAutoTextList AutoTextList field.
wdFieldListNum ListNum field.
wdFieldHTMLActiveX HTMLActiveX field. Not currently supported.
wdFieldBidiOutline BidiOutline field.
wdFieldAddressBlock AddressBlock field.
wdFieldGreetingLine GreetingLine field.
wdFieldShape Shape field. Automatically created for any drawn picture.
wdFieldCitation Citation field.
wdFieldBibliography Bibliography field.

Remarks

Unless otherwise specified, the field types described in this enumeration can be added interactively to a Microsoft Word document by using the Field dialog box (Insert|Field). See Help for interactive Word for more information on specific field code.

See Also

Reference

Microsoft.Office.Interop.Word Namespace