DropDown.Valid Property 

Determines if the specified form field object is a valid check box form field.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim dropDown1 As DropDown

Dim returnValue As Boolean
returnValue = dropDown1.Valid

Syntax

ReadOnly Property Valid() As Boolean
bool Valid {get;}
property Boolean Valid{
    Boolean get();
}
public boolean get_Valid();
function get Valid() : Boolean;

Remarks

This property returns True if the specified form field object is a valid check box form field, and False if not.

For the CheckBox, DropDown, and TextInput objects, use the Type property of the FormField object to determine the type of form field (wdFieldFormCheckBox, wdFieldFormDropDown, or wdFieldFormTextInput) before applying the CheckBox, DropDown, or TextInput property. This precaution ensures that the FormField object is the expected type.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

DropDown Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

DropDown Members