語言

ChtmlTextWriter.SuppressedAttributes 屬性

定義

取得 Hashtable 一個由使用者指定、未在 cHTML 元素上渲染的抑制屬性物件。

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

屬性值

Hashtable A是被抑制的cHTML屬性。

備註

使用該 RemoveRecognizedAttribute 方法將屬性加入被抑制屬性集合。

以下列表顯示當建立新類別實例div時,該元素預設ChtmlTextWriter的抑制屬性。

  • accesskey
  • gridlines
  • cellspacing
  • rules
  • cellpadding

以下列表顯示當建立新類別實例span時,該元素預設ChtmlTextWriter的抑制屬性。

  • cellspacing
  • gridlines
  • cellpadding
  • rules

適用於

另請參閱