Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
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:vb.net}
Public Function InsertEntry(ByVal index As Integer, ByVal level As Integer) As ListEntry
{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}