Application.CustomFieldValueListGetItem Method (Project)

Returns the value, description, or phonetic spelling of an item in the value list for a custom field.

Syntax

expression .CustomFieldValueListGetItem(FieldID, Item, Index)

expression A variable that represents an Application object.

Parameters

Name

Required/Optional

Data Type

Description

FieldID

Required

Long

The custom field. Can be one of the PjCustomField constants.

Item

Required

Long

The information to return. Can be one of the following PjValueListItem constants: pjValueListValue, pjValueListDescription, or pjValueListPhonetics. The default value is pjValueListValue.

Index

Required

Long

The row number of the value list item for which to return the information specified with Item.

Return Value

String