ListEntries.Add(String, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个 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
可选 对象。 代表项在列表中的位置的数值。