> ## 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.

# Interface ILinkContainerEvent

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

This interface is to represent the object container events that has a relation with other object.

```csharp theme={null}
public interface ILinkContainerEvent
```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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-r1/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-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Properties

### AddedToDocEventHandler

Gets the event handler for add.

```csharp theme={null}
EventHandler<AddToDocEventArgs> AddedToDocEventHandler { get; }
```

#### Property Value

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[AddToDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.AddToDocEventArgs.md)>

### DestroyEventHandler

Gets the event handler for destroy.

```csharp theme={null}
EventHandler<LinkEventArgs> DestroyEventHandler { get; }
```

#### Property Value

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)>

### DestroyingEventHandler

Gets the event handler for destroying.

```csharp theme={null}
EventHandler<LinkEventArgs> DestroyingEventHandler { get; }
```

#### Property Value

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)>

### RemovedFromDocEventHandler

Gets the event handler for remove.

```csharp theme={null}
EventHandler<RemoveFromDocEventArgs> RemovedFromDocEventHandler { get; }
```

#### Property Value

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[RemoveFromDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.RemoveFromDocEventArgs.md)>

### UpdateEventHandler

Gets the event handler for update.

```csharp theme={null}
EventHandler<LinkEventArgs> UpdateEventHandler { get; }
```

#### Property Value

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)>

### UpdatingEventHandler

Gets the event handler for updating.

```csharp theme={null}
EventHandler<LinkEventArgs> UpdatingEventHandler { get; }
```

#### Property Value

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)>

## Methods

### LinkAddedToDocument(object, AddToDocEventArgs)

The event that added to document occured from the linked object.

```csharp theme={null}
void LinkAddedToDocument(object obj, AddToDocEventArgs arg)
```

#### Parameters

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

The added object.

`arg` [AddToDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.AddToDocEventArgs.md)

The event information that added to document.

### LinkRemovedFromDocument(object, RemoveFromDocEventArgs)

The event that removed from document occured from the linked object.

```csharp theme={null}
void LinkRemovedFromDocument(object obj, RemoveFromDocEventArgs arg)
```

#### Parameters

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

The removed object.

`arg` [RemoveFromDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.RemoveFromDocEventArgs.md)

The event information that removed to document.

### LinkRequestDestroy(object, LinkEventArgs)

The destroy event occured from the linked object.

```csharp theme={null}
void LinkRequestDestroy(object objNotifier, LinkEventArgs arg)
```

#### Parameters

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

The linked object.

`arg` [LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)

The destroy event information.

### LinkRequestDestroying(object, LinkEventArgs)

The destroying event occured from the linked object.

```csharp theme={null}
void LinkRequestDestroying(object objNotifier, LinkEventArgs arg)
```

#### Parameters

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

The linked object.

`arg` [LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)

The destroy event information.

### LinkRequestUpdate(object, LinkEventArgs)

The update event occured from the linked object.

```csharp theme={null}
void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)
```

#### Parameters

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

The linked object.

`arg` [LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)

The update event information.

### LinkRequestUpdating(object, LinkEventArgs)

The updatung event occured from the linked object.

```csharp theme={null}
void LinkRequestUpdating(object objNotifier, LinkEventArgs arg)
```

#### Parameters

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

The linked object.

`arg` [LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)

The update event information.

### OnAdded

Occurs when \[on add].

```csharp theme={null}
event EventHandler<AddToDocEventArgs> OnAdded
```

#### Event Type

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[AddToDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.AddToDocEventArgs.md)>

### OnDestroy

Occurs when \[on destroy].

```csharp theme={null}
event EventHandler<LinkEventArgs> OnDestroy
```

#### Event Type

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)>

### OnDestroying

Occurs when \[on destroy].

```csharp theme={null}
event EventHandler<LinkEventArgs> OnDestroying
```

#### Event Type

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)>

### OnRemoved

Occurs when \[on remove].

```csharp theme={null}
event EventHandler<RemoveFromDocEventArgs> OnRemoved
```

#### Event Type

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[RemoveFromDocEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.RemoveFromDocEventArgs.md)>

### OnUpdate

Occurs when \[on update].

```csharp theme={null}
event EventHandler<LinkEventArgs> OnUpdate
```

#### Event Type

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)>

### OnUpdating

Occurs when \[on update].

```csharp theme={null}
event EventHandler<LinkEventArgs> OnUpdating
```

#### Event Type

[EventHandler](https://learn.microsoft.com/dotnet/api/system.eventhandler-1)\<[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.LinkEventArgs.md)>
