Share via


MappedDataField.DataFieldName Property

Sets or returns a String that represents the name of the field in the mail merge data source to which a mapped data field maps.

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

Syntax

'Declaration
ReadOnly Property DataFieldName As String
    Get
'Usage
Dim instance As MappedDataField
Dim value As String

value = instance.DataFieldName
string DataFieldName { get; }

Property Value

Type: System.String

Remarks

The DataFieldName property returns a blank string if the specified data field is not mapped to a mapped data field.

See Also

Reference

MappedDataField Interface

MappedDataField Members

Microsoft.Office.Interop.Word Namespace