XhtmlTextWriter.ElementSpecificAttributes XhtmlTextWriter.ElementSpecificAttributes XhtmlTextWriter.ElementSpecificAttributes XhtmlTextWriter.ElementSpecificAttributes Property

定義

要素固有属性を格納している Hashtable オブジェクトを取得します。Gets a Hashtable object containing element-specific attributes.

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

プロパティ値

要素固有属性を格納している Hashtable オブジェクト。A Hashtable object containing element-specific attributes.

注釈

使用して、 AddRecognizedAttribute XHTML 要素に属性の認識を追加します。Use the AddRecognizedAttribute method to add recognized attributes to an XHTML element. XHTML 要素に共通の属性を削除するには、使用、RemoveRecognizedAttributeメソッド。To remove common attributes on an XHTML element, use the RemoveRecognizedAttribute method.

新しいインスタンスの場合に、XhtmlTextWriterクラスが作成される、Hashtable要素固有属性のオブジェクトには、次の表に示すように属性が表示されます。When a new instance of the XhtmlTextWriter class is created, the Hashtable object of element-specific attributes is populated with the attributes shown in the following table.

要素Element 属性Attributes
<a> accesskey, href, charset, hreflang, rel, type, rev, title, tabindexaccesskey, href, charset, hreflang, rel, type, rev, title, tabindex
<base> href
<blockquote> cite
<br> idclasstitleid, class, title
<form> actionmethodenctypeaction, method, enctype
<head> xml:lang
<html> versionxml:langxmlnsversion, xml:lang, xmlns
<img> src, alt, width, longdesc, heightsrc, alt, width, longdesc, height
<input> size, accesskey, title, name, type, disabled, value, src, checked, maxlength, tabindexsize, accesskey, title, name, type, disabled, value, src, checked, maxlength, tabindex
<label> accesskeyforaccesskey, for
<li> value
<link> hreflang, rev, type, charset, rel, href, mediahreflang, rev, type, charset, rel, href, media
<meta> content, name, xml:lang, http-equiv, schemecontent, name, xml:lang, http-equiv, scheme
<object> codebase, classid, data, standby, name, type, height, archive, declare, width, tabindex, codetypecodebase, classid, data, standby, name, type, height, archive, declare, width, tabindex, codetype
<ol> start
<optgroup> labeldisabledlabel, disabled
<option> selectedvalueselected, value
<param> id, name, valuetype, value, typeid, name, valuetype, value, type
<pre> xml:space
<q> cite
<select> name, tabindex, disabled, multiple, sizename, tabindex, disabled, multiple, size
<style> xml:lang, xml:space, type, title, mediaxml:lang, xml:space, type, title, media
<table> widthsummarywidth, summary
<textarea> name, cols, accesskey, tabindex, rowsname, cols, accesskey, tabindex, rows
<td> headers, align, rowspan, colspan, axis, scope, abbr, valignheaders, align, rowspan, colspan, axis, scope, abbr, valign
<th> headers, align, rowspan, colspan, axis, scope, abbr, valignheaders, align, rowspan, colspan, axis, scope, abbr, valign
<title> xml:lang
<tr> alignvalignalign, valign

要素と表示されるスタイルの詳細については、XHTML のモジュール化仕様を参照してください、 World Wide Web Consortium (W3C) の Web サイトします。For more information on the elements and styles that are rendered, see the XHTML modularization specification at the World Wide Web Consortium (W3C) Web site.

適用対象

こちらもご覧ください