    

 ## On this page

  

 

 # Class InterfaceRemoveEvent

 Last update: 09.03.2026 

<a id="VM_Managed_InterfaceRemoveEvent"></a>

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMObjBase.dll

This class is to represent \[interface remove event\].

```csharp
public class InterfaceRemoveEvent : InterfaceEvent

```

#### Inheritance

object ← [HistoryEvent](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs) ← DocumentMemberModifiedEvent ← DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt; ← [InterfaceEvent](VM.Managed.InterfaceEvent.md) ← [InterfaceRemoveEvent](VM.Managed.InterfaceRemoveEvent.md)

#### Inherited Members

[InterfaceEvent.AfterUndo(HistoryEventArgs)](VM.Managed.InterfaceEvent.md#VM_Managed_InterfaceEvent_AfterUndo_VM_Managed_History_HistoryEventArgs_), [InterfaceEvent.AfterRedo(HistoryEventArgs)](VM.Managed.InterfaceEvent.md#VM_Managed_InterfaceEvent_AfterRedo_VM_Managed_History_HistoryEventArgs_), [InterfaceEvent.Add()](VM.Managed.InterfaceEvent.md#VM_Managed_InterfaceEvent_Add), [InterfaceEvent.Remove()](VM.Managed.InterfaceEvent.md#VM_Managed_InterfaceEvent_Remove), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.PreExecute, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.PostExecute, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.m\_value, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.m\_strPropertyName, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.m\_arAddOn, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.m\_objParam, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.Undo(HistoryEventArgs), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.Redo(HistoryEventArgs), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.BeforeUndo(HistoryEventArgs), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.BeforeRedo(HistoryEventArgs), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.AfterUndo(HistoryEventArgs), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.AfterRedo(HistoryEventArgs), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.Clear(bool), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.DocumentSimpleValueModified(Document, object, string), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.DocumentSimpleValueModified(Document, object, string, object), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[\]), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.DocumentSimpleValueModified(Document, object, string, object, object, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.PreExecuteCallback), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.DocumentSimpleValueModified(Document, object, string, object, object, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.PostExecuteCallback), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[\], object, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.PreExecuteCallback), DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[\], object, DocumentSimpleValueModifiedEvent&lt;List&lt;InterfaceManager.InterfaceInfoForUndo&gt;&gt;.PostExecuteCallback), DocumentMemberModifiedEvent.m\_doc, DocumentMemberModifiedEvent.m\_obj, DocumentMemberModifiedEvent.Clear(bool), [HistoryEvent.ClearEvent(bool)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Undo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Redo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.Clear(bool)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeUndo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterUndo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeRedo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterRedo(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.AfterAdded(HistoryEventArgs)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs), [HistoryEvent.IsValid](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEvent.cs)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_InterfaceRemoveEvent__ctor_VM_Managed_Document_System_Object_System_String_System_Object_System_Object_VM_Managed_History_DocumentSimpleValueModifiedEvent_System_Collections_Generic_List_VM_Managed_InterfaceManager_InterfaceInfoForUndo___PostExecuteCallback_System_String_"></a> InterfaceRemoveEvent(Document, object, string, object, object, PostExecuteCallback, string)

Initializes a new instance of the  class.

```csharp
public InterfaceRemoveEvent(Document doc, object obj, string strPropertyName, object objTarget, object objParam, DocumentSimpleValueModifiedEvent<List<InterfaceManager.InterfaceInfoForUndo>>.PostExecuteCallback delPostExecute, string strXML)

```

#### Parameters

`doc` Document

`obj` object

`strPropertyName` string

`objTarget` object

`objParam` object

`delPostExecute` DocumentSimpleValueModifiedEvent&lt;List&lt;[InterfaceManager](VM.Managed.InterfaceManager.md).[InterfaceInfoForUndo](VM.Managed.InterfaceManager.InterfaceInfoForUndo.md)&gt;&gt;.PostExecuteCallback

`strXML` string

## Methods

### <a id="VM_Managed_InterfaceRemoveEvent_AfterRedo_VM_Managed_History_HistoryEventArgs_"></a> AfterRedo(HistoryEventArgs)

After redo.

The argument ```csharp
protected override void AfterRedo(HistoryEventArgs args)

```

#### Parameters

`args` [HistoryEventArgs](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEventArgs.cs)

### <a id="VM_Managed_InterfaceRemoveEvent_AfterUndo_VM_Managed_History_HistoryEventArgs_"></a> AfterUndo(HistoryEventArgs)

After undo.

The argument ```csharp
protected override void AfterUndo(HistoryEventArgs args)

```

#### Parameters

`args` [HistoryEventArgs](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/ClassicPre/Data/VMHist/HistoryEventArgs.cs)