property Element.IncomingLinks as Variant
Returns a safe array of incoming links.

TypeDescription
Variant A safe-array of Link objects that specifies the links that ends to the current element. You can use the for-each statement to enumerate all incoming links.
The IncomingLinks property specifies the list of links that ends on the current element. The OutgoingLinks property specifies the list of links that starts from 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(exShowLinksEndTo)/ShowLinksStyle(exShowLinksEndTo)/ShowLinksWidth(exShowLinksEndTo) properties to mark the incoming links of selected elements.

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

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

Private Sub Surface1_SelectionChanged()
    With Surface1
        Dim s As Variant
        For Each s In .Selection
            Debug.Print "Incomming Elements of " & s.ID & "are: "
            With s
                For Each i In .IncomingLinks
                    Debug.Print i.ElementFrom.ID
                Next
            End With
        Next
    End With
End Sub