ListEntries 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对象的集合 ListEntry ,这些对象表示下拉窗体字段中的所有项。
public interface class ListEntries : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("00020924-0000-0000-C000-000000000046")]
public interface ListEntries : System.Collections.IEnumerable
type ListEntries = interface
interface IEnumerable
Public Interface ListEntries
Implements IEnumerable
- 属性
- 实现
注解
ListEntries使用 属性可返回 ListEntries 集合。
Add(String, Object)使用 方法将项添加到下拉窗体字段。
使用 ListEntries (index
) (其中 index
是列表条目名称或索引号)返回单个 ListEntry 对象。 索引号代表项目在下拉型窗体域中的位置(第一项的索引号是 1)。
属性
Application |
返回一个 Application 对象,该对象代表 Microsoft Word 应用程序。 |
Count |
返回指定集合中的项数。 |
Creator |
返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。 |
Item[Object] |
返回集合中的单个对象。 |
Parent |
返回一个对象,代表指定对象的父对象。 |
方法
Add(String, Object) |
返回一个 ListEntry 对象,该对象表示添加到下拉窗体字段的项。 |
Clear() |
删除下拉窗体域中的所有项目。 |
GetEnumerator() |
对象的集合 ListEntry ,这些对象表示下拉窗体字段中的所有项。 |