[]
Adds a sub index entry.
public IndexEntry AddSubEntry(string text)
Public Function AddSubEntry(text As String) As IndexEntry
| Type | Name | Description |
|---|---|---|
| string | text | The sub index entry text. |
| Type | Description |
|---|---|
| IndexEntry | The sub index entry. |
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if adding a subentry that already exists. |
| InvalidOperationException |
Adds a sub index entry.
public IndexEntry AddSubEntry(string text, string sortBy)
Public Function AddSubEntry(text As String, sortBy As String) As IndexEntry
| Type | Name | Description |
|---|---|---|
| string | text | The sub index entry text. |
| string | sortBy | The string to sort entry in the INDEX field result. |
| Type | Description |
|---|---|
| IndexEntry | The sub index entry. |
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown if adding a subentry that already exists. |
| InvalidOperationException |