Sections 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
所选内容、区域或文档中对象的集合 Section 。
public interface class Sections : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002095A-0000-0000-C000-000000000046")]
public interface Sections : System.Collections.IEnumerable
type Sections = interface
interface IEnumerable
Public Interface Sections
Implements IEnumerable
- 属性
- 实现
注解
使用 、 Range或 Document 对象的 Sections 属性Selection可返回 Sections 集合。
Add(Object, Object)使用 方法或 InsertBreak(Object) 方法向文档添加新节。
使用 Sections (index) (其中 index 是索引号)返回单个 Section 对象。
属性
| Application |
返回一个 Application 对象,该对象代表 Microsoft Word 应用程序。 |
| Count |
返回指定集合中的项数。 |
| Creator |
返回一个 32 位整数,它指示在其中创建指定的对象的应用程序。 |
| First | |
| Item[Int32] |
返回集合中的单个对象。 |
| Last | |
| PageSetup |
返回与 PageSetup 指定节关联的 对象 |
| Parent |
返回一个对象,代表指定对象的父对象。 |
方法
| Add(Object, Object) |
返回一个 Section 对象,该对象表示添加到文档的新节。 |
| GetEnumerator() |
所选内容、区域或文档中对象的集合 Section 。 |