Delegate Model.RemovingGeoObject
- Namespace
- CADability
- Assembly
- CADability.dll
Delegate definition for the RemovingGeoObjectEvent. Setting cancel to true prevents
the object beeing removed from the model.
public delegate void Model.RemovingGeoObject(IGeoObject go, ref bool cancel)
Parameters
goIGeoObjectObject to be added
cancelboolParameter to prevent the adding of the object
Constructors
RemovingGeoObject(object, nint)
public RemovingGeoObject(object @object, nint method)
Parameters
Methods
BeginInvoke(IGeoObject, ref bool, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(IGeoObject go, ref bool cancel, AsyncCallback callback, object @object)
Parameters
goIGeoObjectcancelboolcallbackAsyncCallbackobjectobject
Returns
EndInvoke(ref bool, IAsyncResult)
public virtual void EndInvoke(ref bool cancel, IAsyncResult result)
Parameters
cancelboolresultIAsyncResult
Invoke(IGeoObject, ref bool)
public virtual void Invoke(IGeoObject go, ref bool cancel)
Parameters
goIGeoObjectcancelbool