DiagramNodeChildren.LastChild Property
Sets the specified slide show view to display the last slide in the presentation.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
ReadOnly Property LastChild As DiagramNode
Get
'Usage
Dim instance As DiagramNodeChildren
Dim value As DiagramNode
value = instance.LastChild
DiagramNode LastChild { get; }
Property Value
Type: Microsoft.Office.Interop.PowerPoint.DiagramNode
Remarks
If you use the Last method to switch from one slide to another during a slide show, when you return to the original slide, its animation picks up where it left off.
Examples
This example sets slide show window one to display the last slide in the presentation.