返回自定义域的值列表中项的值、说明或拼音。
语法
expression。 CustomFieldValueListGetItem( _FieldID_, _Item_, _Index_ )
expression:表示 Application 对象的变量。
参数
| 名称 | 必需/可选 | 数据类型 | 说明 |
|---|---|---|---|
| FieldID | 必需 | Long | 自定义域。 可以是 PjCustomField 常量之一。 |
| Item | 必需 | Long | 要返回的信息。 可以是下列的 PjValueListItem 常量之一: pjValueListValue 、 pjValueListDescription 或 pjValueListPhonetics 。 默认值是 pjValueListValue 。 |
| Index | 必需 | Long | 值列表中项的行数,在该项中返回由 Item 指定的信息。 |
返回值
String
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。