Progress® Telerik® Reporting R3 2021

ReportItemBase.ItemCollection.IndexOfKey Method

Retrieves the index of the first occurrence of the specified item within the collection.

Namespace:  Telerik.Reporting
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)


public virtual int IndexOfKey(
	string key


Type: SystemString
The name of the report item to search for.

Return Value

Type: Int32
The zero-based index of the first occurrence of the report item with the specified name in the collection.


The key comparison is not case-sensitive. If the key parameter is a null reference (Nothing in Visual Basic) or an empty string, or an item with the specified key is not found, IndexOfKey returns -1.

The Name property of a ReportItemBase corresponds to the key for a ReportItemBase in the ReportItemBaseItemCollection.

Version Information

Supported in: 1.0.1

See Also

In this article
Not finding the help you need?