Partager via


RichHtmlField - Classe

Représente un contrôle de champ permet de modifier les données dans les champs de type HtmlField .

Hiérarchie d’héritage

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPControl
      Microsoft.SharePoint.WebControls.TemplateBasedControl
        Microsoft.SharePoint.WebControls.FormComponent
          Microsoft.SharePoint.WebControls.FieldMetadata
            Microsoft.SharePoint.WebControls.BaseFieldControl
              Microsoft.SharePoint.WebControls.BaseTextField
                Microsoft.SharePoint.WebControls.NoteField
                  Microsoft.SharePoint.WebControls.RichTextField
                    Microsoft.SharePoint.Publishing.WebControls.BaseRichField
                      Microsoft.SharePoint.Publishing.WebControls.RichHtmlField
                        

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

Syntaxe

'Déclaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class RichHtmlField _
    Inherits BaseRichField
'Utilisation
Dim instance As RichHtmlField
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class RichHtmlField : BaseRichField

Remarques

Utilisez les contrôles de RichHtmlField dans les mises en page et modifier les formulaires de liste pour afficher et modifier les valeurs d'élément de tous les objets du type HtmlField publication SPListItem.Fields .

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

RichHtmlField - Membres

Microsoft.SharePoint.Publishing.WebControls - Espace de noms

RichHtmlField

Hiérarchie d’héritage

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPControl
      Microsoft.SharePoint.WebControls.TemplateBasedControl
        Microsoft.SharePoint.WebControls.FormComponent
          Microsoft.SharePoint.WebControls.FieldMetadata
            Microsoft.SharePoint.WebControls.BaseFieldControl
              Microsoft.SharePoint.WebControls.BaseTextField
                Microsoft.SharePoint.WebControls.NoteField
                  Microsoft.SharePoint.WebControls.RichTextField
                    Microsoft.SharePoint.Publishing.WebControls.BaseRichField
                      Microsoft.SharePoint.Publishing.WebControls.RichHtmlField
                        Microsoft.SharePoint.Publishing.WebControls.SiteElementControl