Enum ValueType
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
वैल्यूटाइप
स्प्रेडशीट सेवा की रेंज क्लास से Range.getValue()
और Range.getValues()
से लौटाई गई वैल्यू टाइप की सूची. यहां दी गई वैल्यू, Number
, Boolean
, Date
या String
के अलावा, इनूमरेशन की अन्य वैल्यू हैं.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
SpreadsheetApp.ValueType.IMAGE
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
IMAGE | Enum | जब सेल में कोई इमेज होती है, तो वैल्यू का टाइप. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eValueType\u003c/code\u003e is an enumeration used to identify the type of data returned by \u003ccode\u003egetValue()\u003c/code\u003e and \u003ccode\u003egetValues()\u003c/code\u003e methods of the \u003ccode\u003eRange\u003c/code\u003e class in Google Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eBesides common types like \u003ccode\u003eNumber\u003c/code\u003e, \u003ccode\u003eBoolean\u003c/code\u003e, \u003ccode\u003eDate\u003c/code\u003e, or \u003ccode\u003eString\u003c/code\u003e, it includes specific types like \u003ccode\u003eIMAGE\u003c/code\u003e to indicate an image in a cell.\u003c/p\u003e\n"],["\u003cp\u003eTo refer to a specific value type, use the syntax: \u003ccode\u003eSpreadsheetApp.ValueType.PROPERTY\u003c/code\u003e, for example, \u003ccode\u003eSpreadsheetApp.ValueType.IMAGE\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum ValueType\n\nValueType\n\nAn enumeration of value types returned by [Range.getValue()](/apps-script/reference/spreadsheet/range#getValue()) and [Range.getValues()](/apps-script/reference/spreadsheet/range#getValues()) from the Range class of the Spreadsheet service. The enumeration values\nlisted below are in addition to `Number`, `Boolean`, `Date`, or `String`.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.ValueType.IMAGE`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|-------------------------------------------------|\n| `IMAGE` | `Enum` | The value type when the cell contains an image. |"]]