Enum MimeType
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
MimeTürü
Komut dosyasından yayınlanabilecek MIME türleri için bir enum.
Bir enum'u çağırmak için üst sınıfını, adını ve özelliğini çağırırsınız. Örneğin,
ContentService.MimeType.CSV
.
Özellikler
Mülk | Tür | Açıklama |
CSV | Enum | CSV MIME Türü |
ICAL | Enum | ICAL MIME Türü |
JAVASCRIPT | Enum | JAVASCRIPT MIME türü |
JSON | Enum | JSON Mime Türü |
TEXT | Enum | METİN MIME türü |
VCARD | Enum | VCARD MIME türü |
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\u003eMimeType\u003c/code\u003e is an enum used to specify the format of content served from a Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eYou can access specific mime types by calling \u003ccode\u003eContentService.MimeType\u003c/code\u003e followed by the desired type, like \u003ccode\u003eContentService.MimeType.JSON\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAvailable mime types include CSV, ICAL, JAVASCRIPT, JSON, TEXT, and VCARD for various content formats.\u003c/p\u003e\n"]]],["`MimeType` is an enum representing different mime types for script-served content. It is accessed via its parent class, name, and property (e.g., `ContentService.MimeType.CSV`). The properties include `CSV`, `ICAL`, `JAVASCRIPT`, `JSON`, `TEXT`, and `VCARD`, each representing a specific mime type. They each have an enum type. Each represents a different Mime type for a script.\n"],null,["# Enum MimeType\n\nMimeType\n\nAn enum for mime types that can be served from a script.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nContentService.MimeType.CSV`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|----------------------|\n| `CSV` | `Enum` | CSV Mime Type |\n| `ICAL` | `Enum` | ICAL Mime Type |\n| `JAVASCRIPT` | `Enum` | JAVASCRIPT Mime Type |\n| `JSON` | `Enum` | JSON Mime Type |\n| `TEXT` | `Enum` | TEXT Mime Type |\n| `VCARD` | `Enum` | VCARD Mime Type |"]]