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.v20.2.dll

Declaration

public TitleIndexItem FindByNameOrIndex(
    string nameOrIndex
)
Public Function FindByNameOrIndex(
    nameOrIndex As String
) As TitleIndexItem

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