> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class InterfaceAddEvent

Namespace: [VM.Managed](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed)\
Assembly: VMObjBase.dll

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

```csharp theme={null}
public class InterfaceAddEvent : InterfaceEvent
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
HistoryEvent ←
DocumentMemberModifiedEvent ←
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>> ←
[InterfaceEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceEvent.md) ←
[InterfaceAddEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceAddEvent.md)

#### Inherited Members

[InterfaceEvent.AfterUndo(HistoryEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceEvent.md#VM_Managed_InterfaceEvent_AfterUndo_VM_Managed_History_HistoryEventArgs_),
[InterfaceEvent.AfterRedo(HistoryEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceEvent.md#VM_Managed_InterfaceEvent_AfterRedo_VM_Managed_History_HistoryEventArgs_),
[InterfaceEvent.Add()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceEvent.md#VM_Managed_InterfaceEvent_Add),
[InterfaceEvent.Remove()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceEvent.md#VM_Managed_InterfaceEvent_Remove),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PreExecute,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PostExecute,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.m\_value,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.m\_strPropertyName,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.m\_arAddOn,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.m\_objParam,
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.Undo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.Redo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.BeforeUndo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.BeforeRedo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.AfterUndo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.AfterRedo(HistoryEventArgs),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.Clear(bool),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[]),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, object, DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PreExecuteCallback),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, object, DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PostExecuteCallback),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[], object, DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PreExecuteCallback),
DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.DocumentSimpleValueModified(Document, object, string, object, IUpdateDocAddOn\[], object, DocumentSimpleValueModifiedEvent\<List\<InterfaceManager.InterfaceInfoForUndo>>.PostExecuteCallback),
DocumentMemberModifiedEvent.m\_doc,
DocumentMemberModifiedEvent.m\_obj,
DocumentMemberModifiedEvent.Clear(bool),
HistoryEvent.ClearEvent(bool),
HistoryEvent.Undo(HistoryEventArgs),
HistoryEvent.Redo(HistoryEventArgs),
HistoryEvent.Clear(bool),
HistoryEvent.BeforeUndo(HistoryEventArgs),
HistoryEvent.AfterUndo(HistoryEventArgs),
HistoryEvent.BeforeRedo(HistoryEventArgs),
HistoryEvent.AfterRedo(HistoryEventArgs),
HistoryEvent.BeforeAdded(AddToHistoryManagerEventArgs),
HistoryEvent.AfterAdded(HistoryEventArgs),
HistoryEvent.IsValid

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### InterfaceAddEvent(Document, object, string, object, object, PostExecuteCallback, string)

Initializes a new instance of the [InterfaceAddEvent](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceAddEvent.md) class.

```csharp theme={null}
public InterfaceAddEvent(Document doc, object obj, string strPropertyName, object objTarget, object objParam, DocumentSimpleValueModifiedEvent<List<InterfaceManager.InterfaceInfoForUndo>>.PostExecuteCallback delPostExecute, string strXML)
```

#### Parameters

`doc` Document

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)

`strPropertyName` [string](https://learn.microsoft.com/dotnet/api/system.string)

`objTarget` [object](https://learn.microsoft.com/dotnet/api/system.object)

`objParam` [object](https://learn.microsoft.com/dotnet/api/system.object)

`delPostExecute` DocumentSimpleValueModifiedEvent\<[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[InterfaceManager](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceManager.md).[InterfaceInfoForUndo](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.InterfaceManager.InterfaceInfoForUndo.md)>>.PostExecuteCallback

`strXML` [string](https://learn.microsoft.com/dotnet/api/system.string)

## Methods

### AfterRedo(HistoryEventArgs)

After redo.
\<param name="args">The argument\</param>

```csharp theme={null}
protected override void AfterRedo(HistoryEventArgs args)
```

#### Parameters

`args` HistoryEventArgs

### AfterUndo(HistoryEventArgs)

After undo.
\<param name="args">The argument\</param>

```csharp theme={null}
protected override void AfterUndo(HistoryEventArgs args)
```

#### Parameters

`args` HistoryEventArgs
