Edit

Share via


ListEntries.Add(String, Object) Method

Definition

Returns a ListEntry object that represents an item added to a drop-down form field.

public Microsoft.Office.Interop.Word.ListEntry Add (string Name, ref object Index);
abstract member Add : string * obj -> Microsoft.Office.Interop.Word.ListEntry
Public Function Add (Name As String, Optional ByRef Index As Object) As ListEntry

Parameters

Name
String

Required String. The name of the drop-down form field item.

Index
Object

Optional Object. A number that represents the position of the item in the list.

Returns

Applies to