Clase TableOfContentsDataSourceView

Proporciona la vista para el objeto TableOfContentsDataSource .

Jerarquía de la herencia

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

Espacio de nombres:  Microsoft.SharePoint.Publishing.WebControls
Ensamblado:  Microsoft.SharePoint.Publishing (en Microsoft.SharePoint.Publishing.dll)

Sintaxis

'Declaración
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class TableOfContentsDataSourceView _
    Inherits BaseTableOfContentsDataSourceView
'Uso
Dim instance As TableOfContentsDataSourceView
[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 : BaseTableOfContentsDataSourceView

Comentarios

Se trata de la SPDataSourceView para la clase TableOfContentsDataSource . Tiene propiedades que son similares a los TableOfContentsDataSource. Estos valores de propiedad se obtiene directamente de la clase TableOfContentsDataSource y establecidos en esta vista. En realidad, esta clase recopila los datos de los métodos deGetRootLevelElementsGetChildren(LevelElementHierarchyData) y GetRootLevelElements(RootElementData).

Seguridad para subprocesos

Los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancias sean seguros para los subprocesos.

Vea también

Referencia

Miembros TableOfContentsDataSourceView

Espacio de nombres Microsoft.SharePoint.Publishing.WebControls