ComponentOne ReportViewer for ASP.NET Web Forms
C1.C1Report.4 Assembly / C1.C1Preview Namespace / IndexEntry Class / Occurrences Property

In This Topic
    Occurrences Property
    In This Topic
    Gets the System.Collections.Generic.List`1 of IndexEntryOccurrence objects representing occurrences of the current index entry in the document. In the generated index, each occurrence is replaced by the page number, which is a hyperlink to the occurrence's location in the document. (Consecutive page numbers are collapsed to ranges.)
    Syntax
    'Declaration
     
    Public ReadOnly Property Occurrences As System.Collections.Generic.List(Of IndexEntryOccurrence)
    public System.Collections.Generic.List<IndexEntryOccurrence> Occurrences {get;}
    Remarks
    This method always returns a non-nullSystem.Collections.Generic.List`1, creating it if it did not exist. To test whether an index entry already contains occurrences without creating the Occurrences collection, use the HasOccurrences property.
    See Also