LevelHierarchyWebPart.Header property

Gets or sets the text to display above the level information in the Web Part.

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property Header As String
    Get
    Set
'Usage
Dim instance As LevelHierarchyWebPart
Dim value As String

value = instance.Header

instance.Header = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string Header { get; set; }

Property value

Type: System.String

Exceptions

Exception Condition
WebPartPageUserException

Header text contains too many characters. The maximum allowed is 500.

Remarks

The default value is an empty string.

See also

Reference

LevelHierarchyWebPart class

LevelHierarchyWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace