Bewerken

Share via


XhtmlTextWriter.CommonAttributes Property

Definition

Gets a Hashtable object containing common attributes of the markup tags for the XhtmlTextWriter object.

protected:
 property System::Collections::Hashtable ^ CommonAttributes { System::Collections::Hashtable ^ get(); };
protected System.Collections.Hashtable CommonAttributes { get; }
member this.CommonAttributes : System.Collections.Hashtable
Protected ReadOnly Property CommonAttributes As Hashtable

Property Value

A Hashtable object containing common attributes.

Remarks

The CommonAttributes collection contains attributes that are allowed in XHTML elements and that are not suppressed in the SuppressCommonAttributes property. For more information on common attributes, see the World Wide Web Consortium (W3C) Web site.

When a new instance of the XhtmlTextWriter class is created, the common attributes that are initialized are:

  • class

  • id

  • title

  • xml:lang

Applies to

See also