M_Rhino_RhinoDoc_AddCustomUndoEvent_1 - mcneel/rhinocommon-api-docs GitHub Wiki

RhinoDoc.AddCustomUndoEvent Method (String, EventHandler(CustomUndoEventArgs), Object)

Add a custom undo event so you can undo private plug-in data when the user performs an undo or redo

Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool AddCustomUndoEvent(
	string description,
	EventHandler<CustomUndoEventArgs> handler,
	Object tag
)

VB

Public Function AddCustomUndoEvent ( 
	description As String,
	handler As EventHandler(Of CustomUndoEventArgs),
	tag As Object
) As Boolean

Parameters

 

description
Type: System.String
[Missing documentation for "M:Rhino.RhinoDoc.AddCustomUndoEvent(System.String,System.EventHandler{Rhino.Commands.CustomUndoEventArgs},System.Object)"]
handler
Type: System.EventHandler(CustomUndoEventArgs)
[Missing documentation for "M:Rhino.RhinoDoc.AddCustomUndoEvent(System.String,System.EventHandler{Rhino.Commands.CustomUndoEventArgs},System.Object)"]
tag
Type: System.Object
[Missing documentation for "M:Rhino.RhinoDoc.AddCustomUndoEvent(System.String,System.EventHandler{Rhino.Commands.CustomUndoEventArgs},System.Object)"]

Return Value