Skip to main content
Tab

TitleIndexItemCollection.FindByNameOrIndex(String) Method

Returns an item object with the specified value of the TitleIndexItem.Name or CollectionItem.Index value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

public TitleIndexItem FindByNameOrIndex(
    string nameOrIndex
)

#Parameters

Name Type Description
nameOrIndex String

A String value representing the name of index of the required item.

#Returns

Type Description
TitleIndexItem

A TitleIndexItem object representing the found item.

#Remarks

Use this method to obtain an item, specifying either its a unique name assigned to the TitleIndexItem.Name property, or its index within the ASPxTitleIndex.Items collection.

See Also