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