Share via


Sequence.Clone Method

Creates a copy of an Effect object, and adds it to the Sequences collection at the specified index position.

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

Syntax

'Declaration
Function Clone ( _
    Effect As Effect, _
    Index As Integer _
) As Effect
'Usage
Dim instance As Sequence
Dim Effect As Effect
Dim Index As Integer
Dim returnValue As Effect

returnValue = instance.Clone(Effect, Index)
Effect Clone(
    Effect Effect,
    int Index
)

Parameters

  • Index
    Type: System.Int32
    The position at which the cloned animation effect will be added to the Sequences collection. The default value is -1 (added to the end).

Return Value

Type: Microsoft.Office.Interop.PowerPoint.Effect

See Also

Reference

Sequence Interface

Sequence Members

Microsoft.Office.Interop.PowerPoint Namespace