XhtmlTextWriter.SuppressCommonAttributes 属性

定义

Hashtable获取禁止其属性的元素CommonAttributes的对象。

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

属性值

Hashtable包含未呈现的集合的CommonAttributes元素。

注解

取消显示的属性集合包括不呈现其属性的 XHTML 元素 CommonAttributes 的列表。

创建类的新实例 XhtmlTextWriter 时, Hashtable 将禁止其 CommonAttributes 属性的元素对象包括:

  • base

  • meta

  • br

  • head

  • title

  • html

  • style

适用于

另请参阅