ListEntries.Add(String, Object) 方法

定义

返回一个 ListEntry 对象,该对象表示添加到下拉窗体字段的项。

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

参数

Name
String

必需的 字符串 。 下拉型窗体域项的名称。

Index
Object

可选 对象。 代表项在列表中的位置的数值。

返回

适用于