HtmlTextWriterTag Sabit listesi
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
bir HtmlTextWriter veya Html32TextWriter nesne çıkış akışına geçirilebilen HTML etiketlerini belirtir.
public enum class HtmlTextWriterTag
public enum HtmlTextWriterTag
type HtmlTextWriterTag =
Public Enum HtmlTextWriterTag
- Devralma
Alanlar
| Name | Değer | Description |
|---|---|---|
| Unknown | 0 | HTML etiketi olarak geçirilen dize tanınmıyor. |
| A | 1 | HTML |
| Acronym | 2 | HTML |
| Address | 3 | HTML |
| Area | 4 | HTML |
| B | 5 | HTML |
| Base | 6 | HTML |
| Basefont | 7 | HTML |
| Bdo | 8 | HTML |
| Bgsound | 9 | HTML |
| Big | 10 | HTML |
| Blockquote | 11 | HTML |
| Body | 12 | HTML |
| Br | 13 | HTML |
| Button | 14 | HTML |
| Caption | 15 | HTML |
| Center | 16 | HTML |
| Cite | 17 | HTML |
| Code | 18 | HTML |
| Col | 19 | HTML |
| Colgroup | 20 | HTML |
| Dd | 21 | HTML |
| Del | 22 | HTML |
| Dfn | 23 | HTML |
| Dir | 24 | HTML |
| Div | 25 | HTML |
| Dl | 26 | HTML |
| Dt | 27 | HTML |
| Em | 28 | HTML |
| Embed | 29 | HTML |
| Fieldset | 30 | HTML |
| Font | 31 | HTML |
| Form | 32 | HTML |
| Frame | 33 | HTML |
| Frameset | 34 | HTML |
| H1 | 35 | HTML |
| H2 | 36 | HTML |
| H3 | 37 | HTML |
| H4 | 38 | HTML |
| H5 | 39 | HTML |
| H6 | 40 | HTML |
| Head | 41 | HTML |
| Hr | 42 | HTML |
| Html | 43 | HTML |
| I | 44 | HTML |
| Iframe | 45 | HTML |
| Img | 46 | HTML |
| Input | 47 | HTML |
| Ins | 48 | HTML |
| Isindex | 49 | HTML |
| Kbd | 50 | HTML |
| Label | 51 | HTML |
| Legend | 52 | HTML |
| Li | 53 | HTML |
| Link | 54 | HTML |
| Map | 55 | HTML |
| Marquee | 56 | HTML |
| Menu | 57 | HTML |
| Meta | 58 | HTML |
| Nobr | 59 | HTML |
| Noframes | 60 | HTML |
| Noscript | 61 | HTML |
| Object | 62 | HTML |
| Ol | 63 | HTML |
| Option | 64 | HTML |
| P | 65 | HTML |
| Param | 66 | HTML |
| Pre | 67 | HTML |
| Q | 68 | HTML |
| Rt | 69 | öğenin metnini |
| Ruby | 70 | DHTML |
| S | 71 | HTML |
| Samp | 72 | HTML |
| Script | 73 | HTML |
| Select | 74 | HTML |
| Small | 75 | HTML |
| Span | 76 | HTML |
| Strike | 77 | HTML |
| Strong | 78 | HTML |
| Style | 79 | HTML |
| Sub | 80 | HTML |
| Sup | 81 | HTML |
| Table | 82 | HTML |
| Tbody | 83 | HTML |
| Td | 84 | HTML |
| Textarea | 85 | HTML |
| Tfoot | 86 | HTML |
| Th | 87 | HTML |
| Thead | 88 | HTML |
| Title | 89 | HTML |
| Tr | 90 | HTML |
| Tt | 91 | HTML |
| U | 92 | HTML |
| Ul | 93 | HTML |
| Var | 94 | HTML |
| Wbr | 95 | HTML |
| Xml | 96 | HTML |
Örnekler
Aşağıdaki örnekte numaralandırmanın HtmlTextWriterTag kullanımı gösterilmektedir. alanıImg, adlı HtmlTextWriterbir writer işleme sırasında kullanılır.
// 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()
Açıklamalar
Numaralandırma, HtmlTextWriterTag çıkış akışının bir web isteğine yanıt olarak HTML sunucu denetimleriyle birlikte HTML işaretlemesi yazmasına olanak tanır.