Skip to main content
.NET 6.0+

ChoiceActionItemCollection.Add(Object) Method

Adds a Choice Action Item to the ChoiceActionItemCollection.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public int Add(
    object value
)

Parameters

Name Type Description
value Object

An object which represents the ChoiceActionItem to add.

Returns

Type Description
Int32

The zero-based index of the added ChoiceActionItem in the ChoiceActionItemCollection.

Remarks

If the ChoiceActionItemCollection already contains the specified ChoiceActionItem, the item will not be added.

See Also