Page tree

Versions Compared

Key

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

Excerpt

Returns an Element object that represents the header of the specified type for this section. The header is returned as a editable element. There are 4 types of headers:

Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns an [Element|Element] object that represents the header of the specified type for this section. The header is returned as a editable element. There are 4 types of headers:{excerpt}
{signature:C#}
 public Element GetHeader(HeaderFooterType type)
Signature
{signature}{signature:vb.net
vb.net
}
Public Function GetHeader(ByVal type As HeaderFooterType) As Element
Parameters

...

A Section.HeaderFooterType object that represents the type of header to return.

Returns

An Element object that represents the header of the specified type for this section.

{signature}
{parameters}
{param:type}A [Section.HeaderFooterType|Section.HeaderFooterType] object that represents the type of header to return.{param}
{returns}An {{Element}} object that represents the header of the specified type for this section.{returns}
{example}{code:csharp|title=C#}

          Element oElement = oSection.GetHeader(Section.HeaderFooterType.All);
        
{code}
{code:vb.net
|title=vb.net
}

          Dim oElement As Element = oSection.GetHeader(Section.HeaderFooterType.All)
        {code}

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