HtmlTextWriterTag 列挙体とは? わかりやすく解説

HtmlTextWriterTag 列挙体

HtmlTextWriter オブジェクト出力ストリームまたは Html32TextWriter オブジェクト出力ストリームに渡すことができる HTML タグ指定します

名前空間: System.Web.UI
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As HtmlTextWriterTag
public enum HtmlTextWriterTag
public enum class HtmlTextWriterTag
public enum HtmlTextWriterTag
public enum HtmlTextWriterTag
メンバメンバ
 メンバ説明
AHTML a 要素。  
AcronymHTML acronym 要素。  
AddressHTML address 要素。  
AreaHTML area 要素。  
BHTML b 要素。  
BaseHTML base 要素。  
BasefontHTML basefont 要素。  
BdoHTML bdo 要素。  
BgsoundHTML bgsound 要素。  
BigHTML big 要素。  
BlockquoteHTML blockquote 要素。  
BodyHTML body 要素。  
BrHTML br 要素。  
ButtonHTML button 要素。  
CaptionHTML caption 要素。  
CenterHTML center 要素。  
CiteHTML cite 要素。  
CodeHTML code 要素。  
ColHTML col 要素。  
ColgroupHTML colgroup 要素。  
DdHTML dd 要素。  
DelHTML del 要素。  
DfnHTML dfn 要素。  
DirHTML dir 要素。  
DivHTML div 要素。  
DlHTML dl 要素。  
DtHTML dt 要素。  
EmHTML em 要素。  
EmbedHTML embed 要素。  
FieldsetHTML fieldset 要素。  
FontHTML font 要素。  
FormHTML form 要素。  
FrameHTML frame 要素。  
FramesetHTML frameset 要素。  
H1HTML H1 要素。  
H2HTML H2 要素。  
H3HTML H3 要素。  
H4HTML H4 要素。  
H5HTML H5 要素。  
H6HTML H6 要素。  
HeadHTML head 要素。  
HrHTML hr 要素。  
HtmlHTML html 要素。  
IHTML i 要素。  
IframeHTML iframe 要素。  
ImgHTML img 要素。  
InputHTML input 要素。  
InsHTML ins 要素。  
IsindexHTML isindex 要素。  
KbdHTML kbd 要素。  
LabelHTML label 要素。  
LegendHTML legend 要素。  
LiHTML li 要素。  
LinkHTML link 要素。  
MapHTML map 要素。  
MarqueeHTML marquee 要素。  
MenuHTML menu 要素。  
MetaHTML meta 要素。  
NobrHTML nobr 要素。  
NoframesHTML noframes 要素。  
NoscriptHTML noscript 要素。  
ObjectHTML object 要素。  
OlHTML ol 要素。  
OptionHTML option 要素。  
PHTML p 要素。  
ParamHTML param 要素。  
PreHTML pre 要素。  
QHTML q 要素。  
Rtruby 要素テキスト指定する DHTML rt 要素。  
RubyDHTML ruby 要素。  
SHTML s 要素。  
SampHTML samp 要素。  
ScriptHTML script 要素。  
SelectHTML select 要素。  
SmallHTML small 要素。  
SpanHTML span 要素。  
StrikeHTML strike 要素。  
StrongHTML strong 要素。  
StyleHTML style 要素。  
SubHTML sub 要素。  
SupHTML sup 要素。  
TableHTML table 要素。  
TbodyHTML tbody 要素。  
TdHTML td 要素。  
TextareaHTML textarea 要素。  
TfootHTML tfoot 要素。  
ThHTML th 要素。  
TheadHTML thead 要素。  
TitleHTML title 要素。  
TrHTML tr 要素。  
TtHTML tt 要素。  
UHTML u 要素。  
UlHTML ul 要素。  
UnknownHTML タグとして渡され文字列は、認識されません。  
VarHTML var 要素。  
WbrHTML wbr 要素。  
XmlHTML xml 要素。  
解説解説
使用例使用例

HtmlTextWriterTag 列挙体を使用する例を次に示しますwriter という名前の HtmlTextWriterレンダリング時にImg フィールド使用されています。

' Control the encoding of attributes.
' Simple known values do not need encoding.
writer.AddAttribute(HtmlTextWriterAttribute.Alt, "Encoding, ""Required""",
 True)
writer.AddAttribute("myattribute", "No
 "encoding " required", False)
writer.RenderBeginTag(HtmlTextWriterTag.Img)
writer.RenderEndTag()
writer.WriteLine()
// Control the encoding of attributes. 
// Simple known values do not need encoding.
writer.AddAttribute(HtmlTextWriterAttribute.Alt, "Encoding, \"Required\"",
 true);
writer.AddAttribute("myattribute", "No "encoding "
 required", false);
writer.RenderBeginTag(HtmlTextWriterTag.Img);
writer.RenderEndTag();
writer.WriteLine();
// Control the encoding of attributes.
// Simple known values do not need encoding.
writer->AddAttribute( HtmlTextWriterAttribute::Alt, "Encoding, \"Required\"",
 true );
writer->AddAttribute( "myattribute", "No "encoding "
 required", false );
writer->RenderBeginTag( HtmlTextWriterTag::Img );
writer->RenderEndTag();
writer->WriteLine();
// Control the encoding of attributes. 
// Simple known values do not need encoding.
writer.AddAttribute(HtmlTextWriterAttribute.Alt,
    "Encoding, \"Required\"", true);
writer.AddAttribute("myattribute",
    "No "encoding " required", false);
writer.RenderBeginTag(HtmlTextWriterTag.Img);
writer.RenderEndTag();
writer.WriteLine();
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
System.Web.UI 名前空間
HtmlTextWriter クラス



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「HtmlTextWriterTag 列挙体」の関連用語

HtmlTextWriterTag 列挙体のお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



HtmlTextWriterTag 列挙体のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS