TreeControl-Klasse

Erstellt eine JSON-Darstellung der Datenquelle und initialisiert eine Instanz des Client-Struktursteuerelements.

Vererbungshierarchie

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.BaseDataBoundControl
        System.Web.UI.WebControls.HierarchicalDataBoundControl
          Microsoft.SharePoint.Taxonomy.TreeControl

Namespace:  Microsoft.SharePoint.Taxonomy
Assembly:  Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class TreeControl _
    Inherits HierarchicalDataBoundControl _
    Implements IScriptControl, ICallbackEventHandler
'Usage
Dim instance As TreeControl
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class TreeControl : HierarchicalDataBoundControl, 
    IScriptControl, ICallbackEventHandler

Hinweise

Einen Skriptmanager erforderlich. Führt die IHierarchicalDataSource -Schnittstelle.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Die Threadsicherheit von Instanzmembern ist nicht gewährleistet.

Siehe auch

Referenz

TreeControl-Member

Microsoft.SharePoint.Taxonomy-Namespace