Export (0) Print
Expand All

TableOfContentsDataSourceView Class

Provides the view for the TableOfContentsDataSource.

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

[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class TableOfContentsDataSourceView : LevelHierarchyDataSourceView

This is the DataSourceView for the TableOfContentsDataSource class. It has properties that are similar to the TableOfContentsDataSource. These property values are retrieved directly from the TableOfContentsDataSource class and set to this view. This class actually gathers the data from the GetChildren and GetRootLevelElements methods.

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

Community Additions

© 2015 Microsoft