HtmlField Class
Represents a publishing-extensible field type for defining rich HTML content.
Inheritance Hierarchy
System.Object
Microsoft.SharePoint.SPField
Microsoft.SharePoint.SPFieldMultiLineText
Microsoft.SharePoint.Publishing.Fields.BaseRichFieldType
Microsoft.SharePoint.Publishing.Fields.HtmlField
Namespace: Microsoft.SharePoint.Publishing.Fields
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class HtmlField _
Inherits BaseRichFieldType
'Usage
Dim instance As HtmlField
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class HtmlField : BaseRichFieldType
Remarks
A string of HTML is its value class. It uses the RichHtmlField object as the field control to edit and display it.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.