MappedDataField.DataFieldIndex Property
Returns or sets an Integer that represents the corresponding field number 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
Property DataFieldIndex As Integer
Get
Set
'Usage
Dim instance As MappedDataField
Dim value As Integer
value = instance.DataFieldIndex
instance.DataFieldIndex = value
int DataFieldIndex { get; set; }
Property Value
Type: System.Int32
Remarks
The MappedDataField property returns zero if the specified data field is not mapped to a mapped data field.