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 added to the end of the list, which is indented to the level specified. Level can be between 0 and 8 (9 levels total).

Signature
C#
C#
 public ListEntry AddEntry(int level)
{signature}{signature:
}
Signature
vb.net
vb.net
Public Function AddEntry(ByVal level As Integer) As ListEntry
{signature}
{parameters}
{param:level}An {{int}} representing the level to assign to the new entry.{param}
{returns}A {{ListEntry}} object representing the newly added entry.{returns}
{example}{code:csharp|title=C#}
Parameters
Param
level
level

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

Returns

A ListEntry object representing the newly added entry.

Example
Code Block
csharp
csharp
titleC#


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


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