property HostContext.Link as Variant
Returns the key of the link from the current cursor location.

TypeDescription
Variant A Variant expression that specifies the key / identifier of the link from current cursor location.
The Link property returns a valid value, while the HitTest property includes the exHTValidLink. The exHTValidLink may occur while the cursor hovers the chart/tasks section of the control. The Link property of the Items object defines properties of the link based on its identifier / key.

The following sample displays a message box with the key of the link being clicked, once the user right-clicks the control:

Private Sub G2Host1_Context()
    With G2Host1
        If (.HostContext.HitTest And exHTValidLink) Then
            MsgBox .HostContext.Link
        End If
    End With
End Sub