DropDownItemCollection class

A collection of strings that represent all the items in a drop-down form field. To learn more, visit the Working with Fields documentation article.

Properties

NameDescription
countGets the number of elements contained in the collection.
this[]

Methods

NameDescription
add(value)Adds a string to the end of the collection.
clear()Removes all elements from the collection.
contains(value)Determines whether the collection contains the specified value.
indexOf(value)Returns the zero-based index of the specified value in the collection.
insert(index, value)Inserts a string into the collection at the specified index.
remove(name)Removes the specified value from the collection.
removeAt(index)Removes a value at the specified index.

See Also