{introducedin:4.5.1}
{description}
{excerpt}Returns the text that is contained in this section of the header or footer, including formatting codes{excerpt}
{remarks}For information on the formatting codes used in headers and footers, see [Formatting Headers and Footers]. If there is no content in this section of the header or footer, returns null.{remarks}
{signature:C#}
public string GetText()
{signature}{signature:vb.net}
Public Function GetText() As String
{signature}