TreeControl - Classe

Crée une représentation sous forme de JSON de la source de données et initialise une instance du contrôle client.

Hiérarchie d’héritage

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

Espace de noms :  Microsoft.SharePoint.Taxonomy
Assembly :  Microsoft.SharePoint.Taxonomy (dans Microsoft.SharePoint.Taxonomy.dll)

Syntaxe

'Déclaration
<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
'Utilisation
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

Remarques

Nécessite un gestionnaire de script. Prend l'interface IHierarchicalDataSource .

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

TreeControl - Membres

Microsoft.SharePoint.Taxonomy - Espace de noms