Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Enum ColumnType
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
ColumnType
以列舉方式,呈現 DataTable 中資料欄的有效資料類型。
如要呼叫列舉,您可以呼叫其父項類別、名稱和屬性。例如
Charts.ColumnType.DATE。
屬性
| 屬性 | 類型 | 說明 |
DATE | Enum | 對應日期值。 |
NUMBER | Enum | 對應至數字值。 |
STRING | Enum | 對應字串值。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-04-13 (世界標準時間)。
[null,null,["上次更新時間:2026-04-13 (世界標準時間)。"],[],["The `ColumnType` enumeration defines valid data types for `DataTable` columns. It includes three properties: `DATE`, representing date values; `NUMBER`, representing numerical values; and `STRING`, representing string values. To use a specific type, reference it through `Charts.ColumnType`, followed by the desired property name (e.g., `Charts.ColumnType.DATE`). These are the only types allowed in the table.\n"]]