Partager via


UndoManager.AddCanUndoRedoCallback Method

Add CanUndoRedo voter.

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

Syntax

'Declaration
Public Sub AddCanUndoRedoCallback ( _
    canUndoRedoCallback As CanUndoRedoCallback _
)
public void AddCanUndoRedoCallback(
    CanUndoRedoCallback canUndoRedoCallback
)
public:
void AddCanUndoRedoCallback(
    CanUndoRedoCallback^ canUndoRedoCallback
)
member AddCanUndoRedoCallback : 
        canUndoRedoCallback:CanUndoRedoCallback -> unit
public function AddCanUndoRedoCallback(
    canUndoRedoCallback : CanUndoRedoCallback
)

Parameters

.NET Framework Security

See Also

Reference

UndoManager Class

Microsoft.VisualStudio.Modeling Namespace