Enum MimeType
MimeType
Enum typów MIME, które mogą być wyświetlane ze skryptu.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
ContentService.MimeType.CSV
.
Właściwości
Właściwość | Typ | Opis |
CSV | Enum | Typ MIME pliku CSV |
ICAL | Enum | Typ MIME ICAL |
JAVASCRIPT | Enum | Typ MIME JAVASCRIPT |
JSON | Enum | Typ mime JSON |
TEXT | Enum | Typ MIME tekstowy |
VCARD | Enum | Typ MIME vCard |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2024-12-02 UTC."],[[["`MimeType` is an enum used to specify the format of content served from a Google Apps Script."],["You can access specific mime types by calling `ContentService.MimeType` followed by the desired type, like `ContentService.MimeType.JSON`."],["Available mime types include CSV, ICAL, JAVASCRIPT, JSON, TEXT, and VCARD for various content formats."]]],["`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"]]