Skip to main content

Collection.Add(ICollectionItem) Method

Adds a specified item to the end of the collection.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v23.2.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public virtual void Add(
    ICollectionItem item
)

Parameters

Name Type Description
item ICollectionItem

An object supporting the ICollectionItem interface representing an item to be added.

Remarks

The Add method is used to add a specified item to the end of the collection. Descendants declare overloads of this method to add a specified item type and return the corresponding object. These methods use the Add method of a base class to perform the task.

See Also