Expand Minimize

WdFieldType Enumeration

Specifies a Microsoft Word field.

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

public enum WdFieldType

Member nameDescription
wdFieldEmptyEmpty 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.
wdFieldRefRef field.
wdFieldIndexEntryXE (Index Entry) field.
wdFieldFootnoteRefFootnoteRef field. Not available through the Field dialog box. Inserted programmatically or interactively.
wdFieldSetSet field.
wdFieldIfIf field.
wdFieldIndexIndex field.
wdFieldTOCEntryTOC (Table of Contents Entry) field.
wdFieldStyleRefStyleRef field.
wdFieldRefDocRD (Reference Document) field.
wdFieldSequenceSeq (Sequence) field.
wdFieldTOCTOC (Table of Contents) field.
wdFieldInfoInfo field.
wdFieldTitleTitle field.
wdFieldSubjectSubject field.
wdFieldAuthorAuthor field.
wdFieldKeyWordKeywords field.
wdFieldCommentsComments field.
wdFieldLastSavedByLastSavedBy field.
wdFieldCreateDateCreateDate field.
wdFieldSaveDateSaveDate field.
wdFieldPrintDatePrintDate field.
wdFieldRevisionNumRevNum field.
wdFieldEditTimeEditTime field.
wdFieldNumPagesNumPages field.
wdFieldNumWordsNumWords field.
wdFieldNumCharsNumChars field.
wdFieldFileNameFileName field.
wdFieldTemplateTemplate field.
wdFieldDateDate field.
wdFieldTimeTime field.
wdFieldPagePage field.
wdFieldExpression= (Formula) field.
wdFieldQuoteQuote field.
wdFieldIncludeInclude field. Cannot be added through the Field dialog box, but can be added interactively or through code.
wdFieldPageRefPageRef field.
wdFieldAskAsk field.
wdFieldFillInFill-In field.
wdFieldDataData field.
wdFieldNextNext field.
wdFieldNextIfNextIf field.
wdFieldSkipIfSkipIf field.
wdFieldMergeRecMergeRec field.
wdFieldDDEDDE field. No longer available through the Field dialog box, but supported for documents created in earlier versions of Microsoft Word.
wdFieldDDEAutoDDEAuto field. No longer available through the Field dialog box, but supported for documents created in earlier versions of Microsoft Word.
wdFieldGlossaryGlossary field. No longer supported in Microsoft Word.
wdFieldPrintPrint field.
wdFieldFormulaEQ (Equation) field.
wdFieldGoToButtonGoToButton field.
wdFieldMacroButtonMacroButton field.
wdFieldAutoNumOutlineAutoNumOut field.
wdFieldAutoNumLegalAutoNumLgl field.
wdFieldAutoNumAutoNum field.
wdFieldImportImport field. Cannot be added through the Field dialog box, but can be added interactively or through code.
wdFieldLinkLink field.
wdFieldSymbolSymbol field.
wdFieldEmbedEmbedded field.
wdFieldMergeFieldMergeField field.
wdFieldUserNameUserName field.
wdFieldUserInitialsUserInitials field.
wdFieldUserAddressUserAddress field.
wdFieldBarCodeBarCode field.
wdFieldDocVariableDocVariable field.
wdFieldSectionSection field.
wdFieldSectionPagesSectionPages field.
wdFieldIncludePictureIncludePicture field.
wdFieldIncludeTextIncludeText field.
wdFieldFileSizeFileSize field.
wdFieldFormTextInputFormText field. Inserted with the Text Form Field button on the Forms toolbar rather than through the Fields dialog box or through code.
wdFieldFormCheckBoxFormCheckBox field. Inserted with the Check Box Form Field button on the Forms toolbar rather than through the Field dialog box or through code.
wdFieldNoteRefNoteRef field.
wdFieldTOATOA (Table of Authorities) field.
wdFieldTOAEntryTOA (Table of Authorities Entry) field.
wdFieldMergeSeqMergeSeq field.
wdFieldPrivatePrivate field.
wdFieldDatabaseDatabase field.
wdFieldAutoTextAutoText field.
wdFieldCompareCompare field.
wdFieldAddinAdd-in field. Not available through the Field dialog box. Used to store data that is hidden from the user interface.
wdFieldSubscriberSubscriber field.
wdFieldFormDropDownFormDropDown field. Inserted with the Drop-Down Form Field button on the Forms toolbar rather than through the Field dialog box or through code.
wdFieldAdvanceAdvance field.
wdFieldDocPropertyDocProperty field.
wdFieldOCXOCX field. Cannot be added through the Field dialog box, but can be added through code by using the AddOLEControl method of the FormFields collection.
wdFieldHyperlinkHyperlink field.
wdFieldAutoTextListAutoTextList field.
wdFieldListNumListNum field.
wdFieldHTMLActiveXHTMLActiveX field. Not currently supported.
wdFieldBidiOutlineBidiOutline field.
wdFieldAddressBlockAddressBlock field.
wdFieldGreetingLineGreetingLine field.
wdFieldShapeShape field. Automatically created for any drawn picture.
wdFieldCitationCitation field.
wdFieldBibliographyBibliography field.

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.

Community Additions

ADD
Show:
© 2014 Microsoft