FormField.TextInput Property

Returns a TextInput object that represents a text form field.

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

Syntax

'Declaration
ReadOnly Property TextInput As TextInput
    Get
'Usage
Dim instance As FormField
Dim value As TextInput

value = instance.TextInput
TextInput TextInput { get; }

Property Value

Type: Microsoft.Office.Interop.Word.TextInput

Remarks

If the TextInput property is applied to a FormField object that isn't a drop-down form field, the property won't fail, but the Valid property for the returned object will be False.

Use the Result property with the FormField object to return or set the contents of a TextInput object.

See Also

Reference

FormField Interface

FormField Members

Microsoft.Office.Interop.Word Namespace