Partager via


GraphUndoUnit.AddLink(GraphLink) Method

Definition

Called during Apply if a link needs to be added back to the graph. You can override this but you must call base.AddLInk.

protected:
 virtual void AddLink(Microsoft::VisualStudio::GraphModel::GraphLink ^ link);
protected virtual void AddLink (Microsoft.VisualStudio.GraphModel.GraphLink link);
abstract member AddLink : Microsoft.VisualStudio.GraphModel.GraphLink -> unit
override this.AddLink : Microsoft.VisualStudio.GraphModel.GraphLink -> unit
Protected Overridable Sub AddLink (link As GraphLink)

Parameters

link
GraphLink

The link being added

Applies to