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

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

This class is to represent the event information that deleted from linked object.

```csharp theme={null}
public sealed class DestroyEventArgs : LinkEventArgs
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[EventArgs](https://learn.microsoft.com/dotnet/api/system.eventargs) ←
[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md) ←
[DestroyEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DestroyEventArgs.md)

#### Inherited Members

[LinkEventArgs.IsUpdating(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_IsUpdating_System_Object_),
[LinkEventArgs.IsDestroying(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_IsDestroying_System_Object_),
[LinkEventArgs.ExistUpdatingTarget(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_ExistUpdatingTarget_System_Object_),
[LinkEventArgs.ExistDestroyingTarget(object)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_ExistDestroyingTarget_System_Object_),
[LinkEventArgs.EntitiesForCircularReference](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_EntitiesForCircularReference),
[LinkEventArgs.PreviousEventNotifier](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_PreviousEventNotifier),
[LinkEventArgs.InnerEventArgument](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_InnerEventArgument),
[LinkEventArgs.Extra](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_Extra),
[LinkEventArgs.Document](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_Document),
[LinkEventArgs.Reason](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_Reason)

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

### DestroyEventArgs(LinkEventArgs, object, object)

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

```csharp theme={null}
public DestroyEventArgs(LinkEventArgs innerArgs, object obEventPrevious, object extra)
```

#### Parameters

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

The inner argument.

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

The previous event.

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

The extra data.

### DestroyEventArgs(LinkEventArgs, object)

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

```csharp theme={null}
public DestroyEventArgs(LinkEventArgs innerArgs, object obEventPrevious)
```

#### Parameters

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

The inner argument.

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

The previous event.

### DestroyEventArgs(Document, object)

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

```csharp theme={null}
public DestroyEventArgs(Document document, object extra)
```

#### Parameters

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

The document.

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

The extra data.

## Properties

### Type

Gets the type of destroy method.

```csharp theme={null}
public DestroyType Type { get; }
```

#### Property Value

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