[]
        
(Showing Draft Content)

C1.C1Preview.IndexEntry.-ctor

IndexEntry Constructor

IndexEntry()

Initializes a new instance of the IndexEntry class.

Declaration
public IndexEntry()
Public Sub New()

IndexEntry(string)

Initializes a new instance of the IndexEntry class.

Declaration
public IndexEntry(string caption)
Public Sub New(caption As String)
Parameters
Type Name Description
string caption

The string that is assigned to the Caption property of the current index entry.

IndexEntry(string, params IndexEntryOccurrence[])

Initializes a new instance of the IndexEntry class.

Declaration
public IndexEntry(string caption, params IndexEntryOccurrence[] occurrences)
Public Sub New(caption As String, ParamArray occurrences As IndexEntryOccurrence())
Parameters
Type Name Description
string caption

The string that is assigned to the Caption property of the current index entry.

IndexEntryOccurrence[] occurrences

One or more IndexEntryOccurrence objects that are added to the Occurrences collection of this index entry.

IndexEntry(string, params C1LinkTarget[])

Initializes a new instance of the IndexEntry class.

Declaration
public IndexEntry(string caption, params C1LinkTarget[] targets)
Public Sub New(caption As String, ParamArray targets As C1LinkTarget())
Parameters
Type Name Description
string caption

The string that is assigned to the Caption property of the current index entry.

C1LinkTarget[] targets

A list of C1LinkTarget objects; for each target in that list, a IndexEntryOccurrence is created and added to the Occurrences of the current index item.