HtmlTextWriterTag 列挙型


HtmlTextWriter オブジェクト出力ストリームまたは Html32TextWriter オブジェクト出力ストリームに渡すことができる HTML タグを指定します。Specifies the HTML tags that can be passed to an HtmlTextWriter or Html32TextWriter object output stream.

public enum class HtmlTextWriterTag
public enum HtmlTextWriterTag
type HtmlTextWriterTag = 
Public Enum HtmlTextWriterTag


A 1

HTML a 要素。The HTML a element.

Acronym 2

HTML acronym 要素。The HTML acronym element.

Address 3

HTML address 要素。The HTML address element.

Area 4

HTML area 要素。The HTML area element.

B 5

HTML b 要素。The HTML b element.

Base 6

HTML base 要素。The HTML base element.

Basefont 7

HTML basefont 要素。The HTML basefont element.

Bdo 8

HTML bdo 要素。The HTML bdo element.

Bgsound 9

HTML bgsound 要素。The HTML bgsound element.

Big 10

HTML big 要素。The HTML big element.

Blockquote 11

HTML blockquote 要素。The HTML blockquote element.

Body 12

HTML body 要素。The HTML body element.

Br 13

HTML br 要素。The HTML br element.

Button 14

HTML button 要素。The HTML button element.

Caption 15

HTML caption 要素。The HTML caption element.

Center 16

HTML center 要素。The HTML center element.

Cite 17

HTML cite 要素。The HTML cite element.

Code 18

HTML code 要素。The HTML code element.

Col 19

HTML col 要素。The HTML col element.

Colgroup 20

HTML colgroup 要素。The HTML colgroup element.

Dd 21

HTML dd 要素。The HTML dd element.

Del 22

HTML del 要素。The HTML del element.

Dfn 23

HTML dfn 要素。The HTML dfn element.

Dir 24

HTML dir 要素。The HTML dir element.

Div 25

HTML div 要素。The HTML div element.

Dl 26

HTML dl 要素。The HTML dl element.

Dt 27

HTML dt 要素。The HTML dt element.

Em 28

HTML em 要素。The HTML em element.

Embed 29

HTML embed 要素。The HTML embed element.

Fieldset 30

HTML fieldset 要素。The HTML fieldset element.

Font 31

HTML font 要素。The HTML font element.

Form 32

HTML form 要素。The HTML form element.

Frame 33

HTML frame 要素。The HTML frame element.

Frameset 34

HTML frameset 要素。The HTML frameset element.

H1 35

HTML H1 要素。The HTML H1 element.

H2 36

HTML H2 要素。The HTML H2 element.

H3 37

HTML H3 要素。The HTML H3 element.

H4 38

HTML H4 要素。The HTML H4 element.

H5 39

HTML H5 要素。The HTML H5 element.

H6 40

HTML H6 要素。The HTML H6 element.

Head 41

HTML head 要素。The HTML head element.

Hr 42

HTML hr 要素。The HTML hr element.

Html 43

HTML html 要素。The HTML html element.

I 44

HTML i 要素。The HTML i element.

Iframe 45

HTML iframe 要素。The HTML iframe element.

Img 46

HTML img 要素。The HTML img element.

Input 47

HTML input 要素。The HTML input element.

Ins 48

HTML ins 要素。The HTML ins element.

Isindex 49

HTML isindex 要素。The HTML isindex element.

Kbd 50

HTML kbd 要素。The HTML kbd element.

Label 51

HTML label 要素。The HTML label element.

Legend 52

HTML legend 要素。The HTML legend element.

Li 53

HTML li 要素。The HTML li element.


HTML link 要素。The HTML link element.

Map 55

HTML map 要素。The HTML map element.

Marquee 56

HTML marquee 要素。The HTML marquee element.

Menu 57

HTML menu 要素。The HTML menu element.

Meta 58

HTML meta 要素。The HTML meta element.

Nobr 59

HTML nobr 要素。The HTML nobr element.

Noframes 60

HTML noframes 要素。The HTML noframes element.

Noscript 61

HTML noscript 要素。The HTML noscript element.

Object 62

HTML object 要素。The HTML object element.

Ol 63

HTML ol 要素。The HTML ol element.

Option 64

HTML option 要素。The HTML option element.

P 65

HTML p 要素。The HTML p element.

Param 66

HTML param 要素。The HTML param element.

Pre 67

HTML pre 要素。The HTML pre element.

Q 68

HTML q 要素。The HTML q element.

Rt 69

rt 要素のテキストを指定する DHTML ruby 要素。The DHTML rt element, which specifies text for the ruby element.

Ruby 70

DHTML ruby 要素。The DHTML ruby element.

S 71

HTML s 要素。The HTML s element.

Samp 72

HTML samp 要素。The HTML samp element.

Script 73

HTML script 要素。The HTML script element.

Select 74

HTML select 要素。The HTML select element.

Small 75

HTML small 要素。The HTML small element.

Span 76

HTML span 要素。The HTML span element.

Strike 77

HTML strike 要素。The HTML strike element.

Strong 78

HTML strong 要素。The HTML strong element.

Style 79

HTML style 要素。The HTML style element.

Sub 80

HTML sub 要素。The HTML sub element.

Sup 81

HTML sup 要素。The HTML sup element.

Table 82

HTML table 要素。The HTML table element.

Tbody 83

HTML tbody 要素。The HTML tbody element.

Td 84

HTML td 要素。The HTML td element.

Textarea 85

HTML textarea 要素。The HTML textarea element.

Tfoot 86

HTML tfoot 要素。The HTML tfoot element.

Th 87

HTML th 要素。The HTML th element.

Thead 88

HTML thead 要素。The HTML thead element.

Title 89

HTML title 要素。The HTML title element.

Tr 90

HTML tr 要素。The HTML tr element.

Tt 91

HTML tt 要素。The HTML tt element.

U 92

HTML u 要素。The HTML u element.

Ul 93

HTML ul 要素。The HTML ul element.

Unknown 0

HTML タグとして渡された文字列は、認識されません。The string passed as an HTML tag is not recognized.

Var 94

HTML var 要素。The HTML var element.

Wbr 95

HTML wbr 要素。The HTML wbr element.

Xml 96

HTML xml 要素。The HTML xml element.

列挙型の使用例を次に示し HtmlTextWriterTag ます。The following example demonstrates the use of the HtmlTextWriterTag enumeration. フィールドは、 Img という名前のの表示中に使用され HtmlTextWriter writer ます。The Img field is used during rendering of an HtmlTextWriter named writer.

// 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 );
// 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);
' 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)


HtmlTextWriterTag列挙体を使用すると、出力ストリームは、web 要求への応答として html マークアップと html サーバーコントロールを書き込むことができます。The HtmlTextWriterTag enumeration allows the output stream to write HTML markup, along with HTML server controls, in response to a web request.