CanUndoRedoCallback Delegate

 

Add an instance to the UndoManager to vote on whether an undo or redo operation can continue.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public delegate bool CanUndoRedoCallback(
	bool isUndo,
	TransactionItem^ transactionItem
)

Parameters

isUndo
Type: System::Boolean

true if this is an undo operation; false if this is a redo operation.

transactionItem
Type: Microsoft.VisualStudio.Modeling::TransactionItem^

A TransactionItem identifying the transaction.

Return Value

Type: System::Boolean

Add an instance to the UndoManager to vote on whether an undo or redo operation can continue.

Return to top
Show: