PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / IndexEntry Class / Occurrences Property

In This Topic
    Occurrences Property (IndexEntry)
    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-null List, 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