Share via


LevelHierarchyDataSource.HeaderText Property

Gets or sets the text to display as a header above the contents of the data.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property HeaderText As String
    Get
    Set
'Usage
Dim instance As LevelHierarchyDataSource
Dim value As String

value = instance.HeaderText

instance.HeaderText = value
public string HeaderText { get; set; }

Property Value

Type: System.String

Remarks

This property is not strictly part of the data query but is inserted into the result set as an attribute of the root node,so that the header.xsl templates can be used to show LevelHierarchy Web Parts. The default value is an empty string.

See Also

Reference

LevelHierarchyDataSource Class

LevelHierarchyDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace