會傳回 Long 值,代表 UserDefinedProperty 物件的顯示格式。 唯讀。
語法
表情。DisplayFormat
詞 一個代表 UserDefinedProperty 物件的變數。
註解
此屬性的值是列舉的常數,其中列舉依賴於 UserDefinedProperty 物件的型態屬性值:
| Type 值 | DisplayFormat 列舉 |
|---|---|
| olCombination(舊組合) | 沒有列舉可使用。 此屬性對 olCombination 總是回傳 1。 |
| olCurrency | OlFormatCurrency |
| 舊日期時間 | OlFormatDateTime |
| 舊時長 | OlFormatDuration |
| ol列舉 | OlFormatEnumeration |
| olFormula | 沒有列舉可使用。 這個性質對於 olFormula 總是回傳 1。 |
| olInteger | OlFormatInteger |
| ol關鍵詞 | OlFormatKeywords |
| olNumber | OlFormatNumber |
| olOutlook內部 | 沒有列舉可使用。 此屬性對 olOutlookInternal 總是回傳 1。 |
| 奧爾百分點 | OlFormatPercent |
| olSmart來自 | OlFormatSmartFrom |
| 舊文 | OlFormatText |
| olYesNo | OlFormatYesNo |
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。