DiagramNode.NextNode Method
Displays the slide immediately following the slide that's currently displayed.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Function NextNode As DiagramNode
'Usage
Dim instance As DiagramNode
Dim returnValue As DiagramNode
returnValue = instance.NextNode()
DiagramNode NextNode()
Return Value
Type: Microsoft.Office.Interop.PowerPoint.DiagramNode
Remarks
If the last slide is displayed, the Next method closes the slide show in speaker mode and returns to the first slide in kiosk mode.
Use the View property of the SlideShowWindow object to return the SlideShowView object.
Examples
This example shows the slide immediately following the currently displayed slide on slide show window one.
SlideShowWindows(1).View.Next