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
|
...
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. |
Example |
---|
Code Block |
---|
| csharp | csharp |
title | C# |
---|
{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 Block |
---|
{code}
{code:vb.net
vb.net | title | |title=vb.net
}
Dim oElement As Element = oSection.GetHeader(Section.HeaderFooterType.All)
{code}
{example}