Share via


_Document.Fields Property

Returns a read-only Fields collection that represents all the fields in the document, range, or selection.

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

Syntax

'Declaration
ReadOnly Property Fields As Fields
    Get
'Usage
Dim instance As _Document
Dim value As Fields

value = instance.Fields
Fields Fields { get; }

Property Value

Type: Microsoft.Office.Interop.Word.Fields

Remarks

The Fields property returns a Fields collection that contains only the fields in the main text story.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace