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
Remarks
This information is passed to the LevelHierarchyDataSourceView to control the number of levels to get data for. The default value is 3 levels.
See Also
Reference
LevelHierarchyDataSource Class
LevelHierarchyDataSource Members