Progress® Telerik® Reporting R1 2021
ReportItemBase.ItemCollection.GetChildIndex Method (ReportItemBase, Boolean)
Retrieves the index of the specified child report item within
the item collection, and optionally raises an exception if the
specified report item is not within the item collection.
Namespace:
Telerik.ReportingAssembly: Telerik.Reporting (in Telerik.Reporting.dll)
Syntax
Parameters
- child
- Type: Telerik.ReportingReportItemBase
The ReportItemBase to search for in the item collection. - throwException
- Type: SystemBoolean
true to throw an exception if the ReportItemBase specified in the child parameter is not an item in the ReportItemBaseItemCollection; otherwise, false.
Return Value
Type: Int32A zero-based index value that represents the location of the specified child report item within the item collection; otherwise -1 if the specified ReportItemBase is not found in the ReportItemBaseItemCollection.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The child is not contained in the collection and the throwException parameter is true. |
Version Information
Supported in: 1.0.1