Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / IndexEntry Class / Occurrences Property

In This Topic
    Occurrences Property
    In This Topic
    Gets the List 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 List(Of IndexEntryOccurrence)
    public List<IndexEntryOccurrence> Occurrences {get;}
    Remarks
    This method always returns a non-nullList, 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