    

 ## On this page

  

 

 # Class DestroyEventArgs

 Last update: 09.03.2026 

<a id="VM_Managed_DestroyEventArgs"></a>

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

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

```csharp
public sealed class DestroyEventArgs : LinkEventArgs

```

#### Inheritance

object ← EventArgs ← [LinkEventArgs](VM.Managed.LinkEventArgs.md) ← [DestroyEventArgs](VM.Managed.DestroyEventArgs.md)

#### Inherited Members

[LinkEventArgs.IsUpdating(object)](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_IsUpdating_System_Object_), [LinkEventArgs.IsDestroying(object)](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_IsDestroying_System_Object_), [LinkEventArgs.ExistUpdatingTarget(object)](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_ExistUpdatingTarget_System_Object_), [LinkEventArgs.ExistDestroyingTarget(object)](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_ExistDestroyingTarget_System_Object_), [LinkEventArgs.EntitiesForCircularReference](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_EntitiesForCircularReference), [LinkEventArgs.PreviousEventNotifier](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_PreviousEventNotifier), [LinkEventArgs.InnerEventArgument](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_InnerEventArgument), [LinkEventArgs.Extra](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_Extra), [LinkEventArgs.Document](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_Document), [LinkEventArgs.Reason](VM.Managed.LinkEventArgs.md#VM_Managed_LinkEventArgs_Reason)

#### 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_DestroyEventArgs__ctor_VM_Managed_LinkEventArgs_System_Object_System_Object_"></a> DestroyEventArgs(LinkEventArgs, object, object)

Initializes a new instance of the  class.

```csharp
public DestroyEventArgs(LinkEventArgs innerArgs, object obEventPrevious, object extra)

```

#### Parameters

`innerArgs` [LinkEventArgs](VM.Managed.LinkEventArgs.md)

The inner argument.

`obEventPrevious` object

The previous event.

`extra` object

The extra data.

### <a id="VM_Managed_DestroyEventArgs__ctor_VM_Managed_LinkEventArgs_System_Object_"></a> DestroyEventArgs(LinkEventArgs, object)

Initializes a new instance of the  class.

```csharp
public DestroyEventArgs(LinkEventArgs innerArgs, object obEventPrevious)

```

#### Parameters

`innerArgs` [LinkEventArgs](VM.Managed.LinkEventArgs.md)

The inner argument.

`obEventPrevious` object

The previous event.

### <a id="VM_Managed_DestroyEventArgs__ctor_VM_Managed_Document_System_Object_"></a> DestroyEventArgs(Document, object)

Initializes a new instance of the  class.

```csharp
public DestroyEventArgs(Document document, object extra)

```

#### Parameters

`document` [Document](VM.Managed.Document.md)

The document.

`extra` object

The extra data.

## Properties

### <a id="VM_Managed_DestroyEventArgs_Type"></a> Type

Gets the type of destroy method.

```csharp
public DestroyType Type { get; }

```

#### Property Value

[DestroyType](VM.Managed.DestroyType.md)