Page tree

Versions Compared

Key

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

Excerpt

Creates and returns a Section object that represents a new section at the beginning of this Element.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Creates and returns a [Section|Section] object that represents a new section at the beginning of this Element.{excerpt}
{signature:C#}
 public virtual Section CreateSectionBefore()
Signature
{signature}{signature:vb.net
vb.net
}
Public Overridable Function CreateSectionBefore() As Section
Returns

A Section object that represents a new section at the beginning of this Element.

{signature}
{returns}A {{Section}} object that represents a new section at the beginning of this Element.{returns}
{example}{code:csharp|title=C#}
Section sect = e.CreateSectionBefore();
{code}
{code:vb.net
|title=vb.net
}
Dim sect As Section = e.CreateSectionBefore(){code}

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