Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if an undo or redo operation can proceed, based on external criteria.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Delegate Function CanUndoRedoCallback ( _
    isUndo As Boolean, _
    transactionItem As TransactionItem _
) As Boolean
'Usage
Dim instance As New CanUndoRedoCallback(AddressOf HandlerMethod)
public delegate bool CanUndoRedoCallback(
    bool isUndo,
    TransactionItem transactionItem
)
public delegate bool CanUndoRedoCallback(
    bool isUndo, 
    TransactionItem^ transactionItem
)
JScript does not support delegates.
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