DropDown Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a drop-down form field that contains a list of items in a form.
public interface class DropDown
[System.Runtime.InteropServices.Guid("00020925-0000-0000-C000-000000000046")]
public interface DropDown
type DropDown = interface
Public Interface DropDown
- Attributes
Remarks
Use FormFields(index
), where index is the index number or the bookmark name associated with the drop-down form field, to return a single FormField object. Use the DropDown property with the FormField object to return a DropDown object.
The index number represents the position of the form field in the FormFields collection.
Use the Add(Range, WdFieldType) method with the FormFields collection to add a drop-down form field.
Properties
Application |
Returns a Application object that represents the Microsoft Word application. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Default |
Returns or sets the default drop-down item. |
ListEntries |
Returns a ListEntries collection that represents all the items in a DropDown object. |
Parent |
Returns an object that represents the parent object of the specified object. |
Valid |
Determines if the specified form field object is a valid check box form field. |
Value |
Returns or sets the number of the selected item in a drop-down form field. |