共用方式為


Presentations Interface

A collection of all the Presentation objects in Microsoft PowerPoint. Each Presentation object represents a presentation that's currently open in PowerPoint.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("91493462-5A91-11CF-8700-00AA0060263B")> _
Public Interface Presentations _
    Inherits Collection
'Usage
Dim instance As Presentations
[GuidAttribute("91493462-5A91-11CF-8700-00AA0060263B")]
public interface Presentations : Collection

Remarks

The Presentations collection doesn't include open add-ins, which are a special kind of hidden presentation. You can, however, return a single open add-in if you know its file name. For example Presentations("oscar.ppa") will return the open add-in named "Oscar.ppa" as a Presentation object. However, it is recommended that the AddIns collection be used to return open add-ins.

See Also

Reference

Presentations Members

Microsoft.Office.Interop.PowerPoint Namespace