MasterSlideCollection

MasterSlideCollection 类

表示母版幻灯片的集合。

public sealed class MasterSlideCollection : DomObject<Presentation>, IMasterSlideCollection

属性

名称描述
Count { get; }获取集合中实际包含的元素数量。只读 Int32。
IsSynchronized { get; }返回一个值,指示对集合的访问是否已同步(线程安全)。只读 Boolean。
Item { get; }获取指定索引处的元素。只读 MasterSlide
SyncRoot { get; }返回同步根。只读 Object。

方法

名称描述
AddClone(IMasterSlide)将指定母版幻灯片的副本添加到集合的末尾。关联的布局幻灯片也将被复制。
CopyTo(Array, int)将集合中的所有元素复制到指定的数组。
GetEnumerator()返回一个遍历集合的枚举器。
InsertClone(int, IMasterSlide)在集合的指定位置插入指定母版幻灯片的副本。关联的布局幻灯片也将被复制。
Remove(IMasterSlide)从集合中移除特定对象的第一次出现。
RemoveAt(int)移除集合中指定索引处的元素。
RemoveUnused(bool)移除未使用的母版幻灯片。

另请参阅