Word.Interfaces.ContentControlListItemUpdateData interface

An interface for updating data on the ContentControlListItem object, for use in contentControlListItem.set({ ... }).

Properties

displayText

Specifies the display text of a list item for a dropdown list or combo box content control.

index

Specifies the index location of a content control list item in the collection of list items.

value

Specifies the programmatic value of a list item for a dropdown list or combo box content control.

Property Details

displayText

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Specifies the display text of a list item for a dropdown list or combo box content control.

displayText?: string;

Property Value

string

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

index

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Specifies the index location of a content control list item in the collection of list items.

index?: number;

Property Value

number

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

value

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Specifies the programmatic value of a list item for a dropdown list or combo box content control.

value?: string;

Property Value

string

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]