Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Returns a ListEntry object representing an empty list entry that is inserted at the given index, which is indented to the level specified. index and level start at 0. The maximum level is 8 (9 levels total).

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns a [ListEntry|ListEntry] object representing an empty list entry that is inserted at the given index, which is indented to the level specified. [index|#param-index] and [level|#param-level] start at 0. The maximum level is 8 \(9 levels total\).{excerpt}
{signature:C#}
 public ListEntry InsertEntry(int index, int level)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function InsertEntry(ByVal index As Integer, ByVal level As Integer) As ListEntry
Parameters

...

An int representing the index at which to insert the new entry.

...

An int representing the level to assign to the new entry.

Returns

A ListEntry object representing the newly inserted entry.

{signature}
{parameters}
{param:index}An {{int}} representing the index at which to insert the new entry.{param}
{param:level}An {{int}} representing the level to assign to the new entry.{param}
{returns}A {{ListEntry}} object representing the newly inserted entry.{returns}
{example}{code:csharp|title=C#}

          ListEntry entry = lst.InsertEntry(0, 0);
        
{code}
{code:vb.net
|title=vb.net
}

          Dim entry As ListEntry = lst.InsertEntry(0, 0)
        {code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle