Export (0) Print
Expand All

ListEntries.Add Method 

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

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim Name As String
Dim Index As Object
Dim returnValue As ListEntry
Dim listEntries1 As ListEntries
returnValue = listEntries1.Add(Name, Index)

ListEntry Add(
	[In] string Name, 
	[In, Optional] ref object Index
);
public ListEntry Add(
	/*in*/System.String Name, 
	/*in*/System.Object Index
);
function Add(
	 Name : String, 
	 Index : Object
) : ListEntry;

Parameters

Name

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

Index

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft