Share via


GraphUndoUnit.AddLink Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Called during Apply if a link has to be added back to the graph.

You can override this but you must call base.AddLInk.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Protected Overridable Sub AddLink ( _
    link As GraphLink _
)
protected virtual void AddLink(
    GraphLink link
)
protected:
virtual void AddLink(
    GraphLink^ link
)
abstract AddLink : 
        link:GraphLink -> unit  
override AddLink : 
        link:GraphLink -> unit
protected function AddLink(
    link : GraphLink
)

Parameters

.NET Framework Security

See Also

Reference

GraphUndoUnit Class

Microsoft.VisualStudio.GraphModel Namespace