Application.CustomFieldValueListGetItem 方法 (Project)
會傳回自訂欄位之值清單中某個項目的值、描述或語音拼字。
語法
expression。 CustomFieldValueListGetItem
( _FieldID_
, _Item_
, _Index_
)
expression 代表 Application 物件的變數。
參數
名稱 | 必要/選用 | 資料類型 | 描述 |
---|---|---|---|
FieldID | 必要 | Long | 自訂欄位。 可以是下列 PjCustomField 常數之一。 |
Item | 必要 | Long | 要傳回的資訊。 可以是下列 PjValueListItem 常數之一: pjValueListValue 、 pjValueListDescription 或 pjValueListPhonetics 。 預設值為 pjValueListValue 。 |
Index | 必要 | Long | 指定值清單項目的列號,以便傳回以 Item 指定的資訊。 |
傳回值
字串
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。