Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns an int representing the indent level for this list entry.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public int LevelNum{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Property LevelNum() As Integer</p>Integer
Example
 
Code Block
csharp
csharp
titleC#
            //--- Return LevelNum
          int levelNum = entry.LevelNum;

          //--- Set LevelNum to 4th level
          entry.LevelNum = 3;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return LevelNum
          Dim levelNum As Integer = entry.LevelNum

          '--- Set LevelNum to 4th level
          entry.LevelNum = 3
        
Example