XhtmlTextWriter.CommonAttributes 屬性

定義

取得 Hashtable 物件,其中包含 XhtmlTextWriter 物件之標記 (Markup) 型態之標記 (Tag) 的通用屬性。

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

屬性值

包含常見屬性的 Hashtable 物件。

備註

CommonAttributes集合包含 XHTML 元素中允許的屬性,而且屬性中未隱藏的屬性 SuppressCommonAttributes 。 如需常見屬性的詳細資訊,請參閱 World Wide Web Consortium (W3C) 網站

建立 類別的新實例 XhtmlTextWriter 時,初始化的一般屬性如下:

  • class

  • id

  • title

  • xml:lang

適用於

另請參閱