event AddLink (Link as Link)
A new link has been added to the links collection.

TypeDescription
Link as Link A Link object being added to the Links collection.
The AddLink event notifies your application once a new link has been added to the Links collection. The Add method adds a new link to the Links collection. The CreateLink event notifies your application when the user links two elements on the surface. You can use the AddLink event to change properties of the added link to default values or to associate any extra data to the added link. The AllowLink event occurs when user links two elements to specify whether the link is allowed.

The order of the events when the user links two elements at runtime is:

The AddLink event may be called during the LoadXML method.

Syntax for AddLink event, /NET version, on:

private void AddLink(object sender,exontrol.EXSWIMLANELib.Link Link)
{
}

Private Sub AddLink(ByVal sender As System.Object,ByVal Link As exontrol.EXSWIMLANELib.Link) Handles AddLink
End Sub

Syntax for AddLink event, /COM version, on:

private void AddLink(object sender, AxEXSWIMLANELib._ISwimLaneEvents_AddLinkEvent e)
{
}

void OnAddLink(LPDISPATCH Link)
{
}

void __fastcall AddLink(TObject *Sender,Exswimlanelib_tlb::ILink *Link)
{
}

procedure AddLink(ASender: TObject; Link : ILink);
begin
end;

procedure AddLink(sender: System.Object; e: AxEXSWIMLANELib._ISwimLaneEvents_AddLinkEvent);
begin
end;

begin event AddLink(oleobject Link)
end event AddLink

Private Sub AddLink(ByVal sender As System.Object, ByVal e As AxEXSWIMLANELib._ISwimLaneEvents_AddLinkEvent) Handles AddLink
End Sub

Private Sub AddLink(ByVal Link As EXSWIMLANELibCtl.ILink)
End Sub

Private Sub AddLink(ByVal Link As Object)
End Sub

LPARAMETERS Link

PROCEDURE OnAddLink(oSwimLane,Link)
RETURN

Syntax for AddLink event, /COM version (others), on:

<SCRIPT EVENT="AddLink(Link)" LANGUAGE="JScript">
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Function AddLink(Link)
End Function
</SCRIPT>

Procedure OnComAddLink Variant llLink
	Forward Send OnComAddLink llLink
End_Procedure

METHOD OCX_AddLink(Link) CLASS MainDialog
RETURN NIL

void onEvent_AddLink(COM _Link)
{
}

function AddLink as v (Link as OLE::Exontrol.SwimLane.1::ILink)
end function

function nativeObject_AddLink(Link)
return