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

...

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#
 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
{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#}
Parameters
Param
index
index

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

Param
level
level

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

Returns

A ListEntry object representing the newly inserted entry.

Example
Code Block
csharp
csharp
titleC#


          ListEntry entry = lst.InsertEntry(0, 0);
        
{code} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}


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