DropDownItemCollection Methods

The DropDownItemCollection type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAdd
Adds a string to the end of the collection.
Public methodCode exampleClear
Removes all elements from the collection.
Public methodCode exampleContains
Determines whether the collection contains the specified value.
Public methodEquals (Inherited from Object.)
Public methodCode exampleGetEnumerator
Returns an enumerator object that can be used to iterate over all items in the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleIndexOf
Returns the zero-based index of the specified value in the collection.
Public methodCode exampleInsert
Inserts a string into the collection at the specified index.
Public methodCode exampleRemove
Removes the specified value from the collection.
Public methodCode exampleRemoveAt
Removes a value at the specified index.
Public methodToString (Inherited from Object.)
See Also