Table of contents
TOC
折叠目录
展开目录

Presentation.Container 属性 (PowerPoint)Presentation.Container Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回包含指定嵌入演示文稿的对象。只读。Returns the object that contains the specified embedded presentation. Read-only.

语法Syntax

表达式容器expression. Container

表达式_一个表示演示文稿对象的变量。_expression A variable that represents a Presentation object.

返回值Return Value

对象Object

注解Remarks

如果容器不支持 OLE 自动化,或指定的演示文稿不是嵌入在“Microsoft 活页夹”文件中,则该属性无效。If the container doesn't support OLE Automation, or if the specified presentation isn't embedded in a Microsoft Binder file, this property fails.

示例Example

本示例隐藏 Microsoft 活页夹文件包含嵌入当前演示文稿的第二部分。演示文稿的容器属性返回一个部分部分对象的属性返回联编程序对象。This example hides the second section of the Microsoft Binder file that contains the embedded active presentation. The Container property of the presentation returns a Section object, and the Parent property of the Section object returns a Binder object.

Application.ActivePresentation.Container.Parent.Sections(2) _
    .Visible = False

另请参阅See also

概念Concepts

演示文稿对象Presentation Object

© 2018 Microsoft