Enum ValueType
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
نوع ارزش شمارشی از انواع مقادیر که توسط Range.getValue()
و Range.getValues()
از کلاس Range سرویس صفحه گسترده برگردانده شده است. مقادیر شمارش فهرست شده در زیر علاوه بر Number
، Boolean
، Date
یا String
هستند.
برای فراخوانی یک enum، کلاس والد، نام و ویژگی آن را فراخوانی می کنید. برای مثال، SpreadsheetApp.ValueType.IMAGE
.
خواص
اموال | تایپ کنید | توضیحات |
---|
IMAGE | Enum | نوع مقدار زمانی که سلول حاوی یک تصویر است. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]