GraphUndoManager<T> Methods

 

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

Methods

Name Description
System_CAPS_protmethod Add(T)

Pushes the specified undo unit onto the undo stack.

System_CAPS_pubmethod AddOrMerge(T)

Adds an undo unit to the undo stack, potentially merging it with other undo units on the stack or dropping it if it is empty. If it has UndoOption.AddForce, it will always be added, even if it is empty. This is useful for compound operations such as moving nodes, drag/drop or label editing where you merge a series of undo units into one atomic unit and you must have a sure way of starting with the Add unit even if it is at first empty.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

See Also

GraphUndoManager<T> Class
Microsoft.VisualStudio.GraphModel Namespace

Return to top