Share via


LevelHierarchyDataSourceView.NumLevels Property

Number of levels for which to get data.

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 LevelHierarchyDataSourceView
Dim value As Integer

value = instance.NumLevels

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

Property Value

Type: System.Int32

Remarks

This information is passed to the LevelHierarchyDataSourceView to control the number of levels of data to get. The default value is 3.

See Also

Reference

LevelHierarchyDataSourceView Class

LevelHierarchyDataSourceView Members

Microsoft.SharePoint.Publishing.WebControls Namespace