Skip to main content

TcxImageCollectionItems.FindItemByName(string,TcxImageCollectionItem) Method

Searches for the TcxImageCollectionItem instance by its name.

Declaration

function FindItemByName(const AName: string; out AItem: TcxImageCollectionItem): Boolean;

Parameters

Name Type
AName string
AItem TcxImageCollectionItem

Returns

Type
Boolean

Remarks

If an instance was found, the FindItemByName method assigns it to AItem and returns True. Otherwise, nil is assigned and False is returned.

AName specifies the name of an instance to match.

AItem returns the found instance.

See Also