Field.Data Property

Returns or sets data in an ADDIN field.

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

Syntax

'Declaration
Property Data As String
    Get
    Set
'Usage
Dim instance As Field
Dim value As String

value = instance.Data

instance.Data = value
string Data { get; set; }

Property Value

Type: System.String

Remarks

The data is not visible in the field code or result; it is only accessible by returning the value of the Data property. If the field isn't an ADDIN field, this property will cause an error.

See Also

Reference

Field Interface

Field Members

Microsoft.Office.Interop.Word Namespace