property Element.OutgoingLinks as Variant
Returns a safe array of outgoing links.

TypeDescription
Variant A safe-array of Link objects that specifies the links that starts from the current element. You can use the for-each statement to enumerate all outgoing links.
The OutgoingLinks property specifies the list of links that starts from the current element. The IncomingLinks property specifies the list of links that ends on the current element. The ElementFrom property of the Link object indicates where the Link starts. The ElementTo property of the Link object indicates where the Link ends. Use the ShowLinksColor(exShowLinksStartsFrom)/ ShowLinksStyle(exShowLinksStartsFrom)/ShowLinksWidth(exShowLinksStartsFrom) properties to mark the outgoing links of selected elements. The PathTo property indicates if a path exists from current element to specified element.

The following screen shot shows the outgoing links (red ):

The following VB sample enumerates the outgoing elements ( of selected elements ):

Private Sub SwimLane1_SelectionChanged()
    With SwimLane1
        Dim s As Variant
        For Each s In .Selection
            Debug.Print "Outgoing Elements of " & s.ID & "are: "
            With s
                For Each i In .OutgoingLinks
                    Debug.Print i.ElementTo.ID
                Next
            End With
        Next
    End With
End Sub