ListEntries.Add(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.