LevelHierarchyDataSourceView Class

Represents a single (default) view of the LevelHierarchyDataSource class.

Inheritance Hierarchy

System.Object
  System.Web.UI.HierarchicalDataSourceView
    Microsoft.SharePoint.Publishing.WebControls.LevelHierarchyDataSourceView
      Microsoft.SharePoint.Portal.WebControls.CategoryWebPartDataSourceView
      Microsoft.SharePoint.Publishing.WebControls.TableOfContentsDataSourceView

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class LevelHierarchyDataSourceView _
    Inherits HierarchicalDataSourceView
'Usage
Dim instance As LevelHierarchyDataSourceView
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class LevelHierarchyDataSourceView : HierarchicalDataSourceView

Remarks

This is the DataSourceView for the LevelHierarchyDataSource class. It has properties similar to the LevelHierarchyDataSource and these properties values are retrieved and set by the LevelHierarchyDataSource directly from and to this view. It is an abstract base class and requires a derived class to implement the GetChildren and GetRootLevelElements methods.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LevelHierarchyDataSourceView Members

Microsoft.SharePoint.Publishing.WebControls Namespace