XhtmlTextWriter.SuppressCommonAttributes Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a Hashtable object of elements for which CommonAttributes attributes are suppressed.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

protected Hashtable SuppressCommonAttributes { get; }

Property Value

Type: System.Collections.Hashtable

A Hashtable of elements containing a collection of CommonAttributes that are not rendered.

The suppressed attribute collection includes a list of XHTML elements for which CommonAttributes attributes are not rendered.

When a new instance of the XhtmlTextWriter class is created, the Hashtable object of elements for which CommonAttributes attributes are suppressed includes:

  • base

  • meta

  • br

  • head

  • title

  • html

  • style

.NET Framework
Available since 2.0
Return to top
Show: