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
'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
- canUndoRedoCallback
Type: Microsoft.VisualStudio.Modeling.CanUndoRedoCallback
CanUndoRedo voter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.