Enum MimeType
סוגMIME
טיפוס enum של סוגי MIME שאפשר להציג מסקריפט.
כדי לקרוא למאפיין enum, צריך לקרוא לכיתה ההורה, לשם ולנכס שלו. לדוגמה,
ContentService.MimeType.CSV
.
מאפיינים
נכס | סוג | תיאור |
CSV | Enum | סוג ה-MIME של קובץ ה-CSV |
ICAL | Enum | סוג ה-MIME של ICAL |
JAVASCRIPT | Enum | סוג ה-MIME של JAVASCRIPT |
JSON | Enum | סוג ה-MIME של JSON |
TEXT | Enum | סוג MIME של טקסט |
VCARD | Enum | סוג ה-MIME של vCard |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-02 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]