.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ChoiceActionItemCollection.Find(String, ChoiceActionItemFindType, ChoiceActionItemFindTarget) Method

Returns the item that corresponds to the specified parameters.

Namespace: DevExpress.ExpressApp.Actions

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public ChoiceActionItem Find(
    string itemId,
    ChoiceActionItemFindType recursive,
    ChoiceActionItemFindTarget target
)
Public Function Find(
    itemId As String,
    recursive As ChoiceActionItemFindType,
    target As ChoiceActionItemFindTarget
) As ChoiceActionItem
public ChoiceActionItem Find(
    string itemId,
    ChoiceActionItemFindType recursive,
    ChoiceActionItemFindTarget target
)
Public Function Find(
    itemId As String,
    recursive As ChoiceActionItemFindType,
    target As ChoiceActionItemFindTarget
) As ChoiceActionItem
public ChoiceActionItem Find(
    string itemId,
    ChoiceActionItemFindType recursive,
    ChoiceActionItemFindTarget target
)
Public Function Find(
    itemId As String,
    recursive As ChoiceActionItemFindType,
    target As ChoiceActionItemFindTarget
) As ChoiceActionItem

Parameters

Name Type Description
itemId String

A string value that specifies the identifier of the Action Item to be found.

recursive ChoiceActionItemFindType

A ChoiceActionItemFindType enumeration value that specifies how the search must be performed.

target ChoiceActionItemFindTarget

A ChoiceActionItemFindTarget enumeration value that specifies whether the found items must contain child items.

Parameters

Name Type Description
itemId String

A string value that specifies the identifier of the Action Item to be found.

recursive ChoiceActionItemFindType

A ChoiceActionItemFindType enumeration value that specifies how the search must be performed.

target ChoiceActionItemFindTarget

A ChoiceActionItemFindTarget enumeration value that specifies whether the found items must contain child items.

Parameters

Name Type Description
itemId String

A string value that specifies the identifier of the Action Item to be found.

recursive ChoiceActionItemFindType

A ChoiceActionItemFindType enumeration value that specifies how the search must be performed.

target ChoiceActionItemFindTarget

A ChoiceActionItemFindTarget enumeration value that specifies whether the found items must contain child items.

Returns

Type Description
ChoiceActionItem

A ChoiceActionItem object that matches the specified parameters.

Returns

Type Description
ChoiceActionItem

A ChoiceActionItem object that matches the specified parameters.

Returns

Type Description
ChoiceActionItem

A ChoiceActionItem object that matches the specified parameters.

Remarks

Use this method to get the required item from a ChoiceActionBase.Items collection. If an item is not found, this method returns null (Nothing in VB).

See Also