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.Booleantrue if this is an undo operation; false if this is a redo operation.
transactionItem
Type: Microsoft.VisualStudio.Modeling.TransactionItemA TransactionItem identifying the transaction.
Return Value
Type: System.Boolean