Represents a slide. The Slides collection contains all the objects in a presentation.
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
An interface in the Microsoft® .NET Framework that is derived from a COM coclass. Managed code requires the interface to interoperate with the corresponding COM object. Use the derived interface to access all method, property, and event members of the COM object. However, if you want to use a method or an event that shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event.
For information about the method and property members of the COM object, see _Slide. For information about the event members of the COM object, see SldEvents_Event.
Don't be confused if you're trying to return a reference to a single slide but you end up with a SlideRange object. A single slide can be represented either by a object or by a SlideRange collection that contains only one slide, depending on how you return a reference to the slide. For example, if you create and return a reference to a slide by using the Add(MsoTriState) method, the slide is represented by a object. However, if you create and return a reference to a slide by using the Duplicate() method, the slide is represented by a SlideRange collection that contains a single slide. Because all the properties and methods that apply to a object also apply to a SlideRange collection that contains a single slide, you can work with the returned slide in the same way, regardless of whether it is represented by a object or a SlideRange collection.