LevelHierarchyDataSource.NumLevels Property

Gets or sets the number of levels to get data for.

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

Syntax

'Declaration
Public Property NumLevels As Integer
    Get
    Set
'Usage
Dim instance As LevelHierarchyDataSource
Dim value As Integer

value = instance.NumLevels

instance.NumLevels = value
public int NumLevels { get; set; }

Property Value

Type: System.Int32
An int that contains the number of levels to get data for. The default value is 3 levels

Remarks

This information is passed to the LevelHierarchyDataSourceView object to control the number of levels to get data for.

See Also

Reference

LevelHierarchyDataSource Class

LevelHierarchyDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace