Enum ContentType
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
ContentType
XML içerik düğümlerinin türlerini temsil eden bir liste.
Bir enum'u çağırmak için üst sınıfını, adını ve özelliğini çağırırsınız. Örneğin,
XmlService.ContentType.CDATA
.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eContentType\u003c/code\u003e is an enumeration used to represent the types of XML content nodes in Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eThe available \u003ccode\u003eContentType\u003c/code\u003e properties include: \u003ccode\u003eCDATA\u003c/code\u003e, \u003ccode\u003eCOMMENT\u003c/code\u003e, \u003ccode\u003eDOCTYPE\u003c/code\u003e, \u003ccode\u003eELEMENT\u003c/code\u003e, \u003ccode\u003eENTITYREF\u003c/code\u003e, \u003ccode\u003ePROCESSINGINSTRUCTION\u003c/code\u003e, and \u003ccode\u003eTEXT\u003c/code\u003e, each representing a different type of XML node.\u003c/p\u003e\n"],["\u003cp\u003eTo use a ContentType property, call its parent class, name, and the specific property, such as \u003ccode\u003eXmlService.ContentType.CDATA\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum ContentType\n\nContentType\n\nAn enumeration representing the types of XML content nodes.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nXmlService.ContentType.CDATA`. \n\n### Properties\n\n| Property | Type | Description |\n|-------------------------|--------|-------------------------------------------------------------------------------------------------|\n| `CDATA` | `Enum` | An XML [CDATASection](/apps-script/reference/xml-service/cdata) node. |\n| `COMMENT` | `Enum` | An XML [Comment](/apps-script/reference/xml-service/comment) node. |\n| `DOCTYPE` | `Enum` | An XML [DocumentType](/apps-script/reference/xml-service/doc-type) node. |\n| `ELEMENT` | `Enum` | An XML [Element](/apps-script/reference/xml-service/element) node. |\n| `ENTITYREF` | `Enum` | An XML [EntityReference](/apps-script/reference/xml-service/entity-ref) node. |\n| `PROCESSINGINSTRUCTION` | `Enum` | An XML [ProcessingInstruction](/apps-script/reference/xml-service/processing-instruction) node. |\n| `TEXT` | `Enum` | An XML [Text](/apps-script/reference/xml-service/text) node. |"]]