Click or drag to resize
ContextMenuTargetCollection Methods

The ContextMenuTargetCollection type exposes the following members.

Methods
  Name Description
Public method Add
Appends the specified ContextMenuTarget object to the end of the current ContextMenuTargetCollection.
Public method AddRange
Appends the specified array of ContextMenuTarget objects to the end of the current ContextMenuTargetCollection.
Public method Contains
Determines whether the specified ContextMenuTarget object is in the current ContextMenuTargetCollection.
Public method CopyTo
Copies the contents of the current ContextMenuTargetCollection into the specified array of ContextMenuTarget objects.
Public method IndexOf
Determines the index of the specified ContextMenuTarget object in the collection.
Public method Insert
Inserts the specified ContextMenuTarget object in the current ContextMenuTargetCollection at the specified index location.
Public method Remove
Removes the specified ContextMenuTarget object from the current ContextMenuTargetCollection.
Public method RemoveAt
Removes the ContextMenuTarget object at the specified index from the current ContextMenuTargetCollection.
Top
See Also