Partilhar via


UndoManager.AddCanUndoRedoCallback Method

Add CanUndoRedo voter.

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

Syntax

'Declaração
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