HtmlValidationContext Methods

Include Protected Members
Include Inherited Members

The HtmlValidationContext type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method ValidateHtml(String) Removes unsafe or disallowed HTML markup and returns validated HTML.
Public method ValidateHtml(String, Boolean, Boolean) Removes unsafe or disallowed HTML markup and returns validated HTML.
Public method ValidateImageValue Removes unsafe or disallowed URLs and HTML markup and returns a validated imageValue parameter.
Public method ValidateLinkValue Strips out unsafe or disallowed URLs and HTML markup and returns a validated LinkFieldValue object.

Top

See Also

Reference

HtmlValidationContext Class

Microsoft.SharePoint.Publishing.Fields Namespace