    

 ## On this page

  

 

 # Class LinkEventArgs

 Last update: 09.03.2026 

<a id="VM_Managed_LinkEventArgs"></a>

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

This class is to represent the argument of event from linked object.

```csharp
public class LinkEventArgs : EventArgs

```

#### Inheritance

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

#### Derived

[DestroyEventArgs](VM.Managed.DestroyEventArgs.md), [GetRelationInfoEventArgs](VM.Managed.GetRelationInfoEventArgs.md), [NameChangedEventArgs](VM.Managed.NameChangedEventArgs.md)

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

Initializes a new instance of the  class.

```csharp
public LinkEventArgs(NotifyReason reason, object extra, LinkEventArgs innerArgs, object obEventPrevious)

```

#### Parameters

`reason` [NotifyReason](VM.Managed.NotifyReason.md)

The type of event.

`extra` object

The extra object information.

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

The inner event.

`obEventPrevious` object

The previous linked object.

### <a id="VM_Managed_LinkEventArgs__ctor_VM_Managed_Document_VM_Managed_NotifyReason_System_Object_"></a> LinkEventArgs(Document, NotifyReason, object)

Initializes a new instance of the  class.

```csharp
public LinkEventArgs(Document document, NotifyReason reason, object extra)

```

#### Parameters

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

The document of event.

`reason` [NotifyReason](VM.Managed.NotifyReason.md)

The type of event.

`extra` object

The extra object information.

### <a id="VM_Managed_LinkEventArgs__ctor_VM_Managed_NotifyReason_System_Object_"></a> LinkEventArgs(NotifyReason, object)

Initializes a new instance of the  class.

```csharp
public LinkEventArgs(NotifyReason reason, object extra)

```

#### Parameters

`reason` [NotifyReason](VM.Managed.NotifyReason.md)

The type of event.

`extra` object

The extra object information.

### <a id="VM_Managed_LinkEventArgs__ctor_VM_Managed_NotifyReason_VM_Managed_LinkEventArgs_System_Object_"></a> LinkEventArgs(NotifyReason, LinkEventArgs, object)

Initializes a new instance of the  class.

```csharp
public LinkEventArgs(NotifyReason reason, LinkEventArgs innerArgs, object obEventPrevious)

```

#### Parameters

`reason` [NotifyReason](VM.Managed.NotifyReason.md)

The type of event.

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

The inner event.

`obEventPrevious` object

The previous linked object.

### <a id="VM_Managed_LinkEventArgs__ctor_VM_Managed_Document_VM_Managed_NotifyReason_"></a> LinkEventArgs(Document, NotifyReason)

Initializes a new instance of the  class.

```csharp
public LinkEventArgs(Document document, NotifyReason reason)

```

#### Parameters

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

The document of event.

`reason` [NotifyReason](VM.Managed.NotifyReason.md)

The type of event.

### <a id="VM_Managed_LinkEventArgs__ctor_VM_Managed_NotifyReason_"></a> LinkEventArgs(NotifyReason)

Initializes a new instance of the  class.

```csharp
public LinkEventArgs(NotifyReason reason)

```

#### Parameters

`reason` [NotifyReason](VM.Managed.NotifyReason.md)

The type of event.

## Properties

### <a id="VM_Managed_LinkEventArgs_Document"></a> Document

Gets the document.

```csharp
public Document Document { get; }

```

#### Property Value

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

### <a id="VM_Managed_LinkEventArgs_EntitiesForCircularReference"></a> EntitiesForCircularReference

Gets or sets the objects for circular reference.

```csharp
public HashSet<ObjectBase> EntitiesForCircularReference { get; set; }

```

#### Property Value

HashSet&lt;[ObjectBase](VM.Managed.ObjectBase.md)&gt;

### <a id="VM_Managed_LinkEventArgs_Extra"></a> Extra

Gets the extra object information.

```csharp
public object Extra { get; }

```

#### Property Value

object

### <a id="VM_Managed_LinkEventArgs_InnerEventArgument"></a> InnerEventArgument

Gets the inner event.

```csharp
public LinkEventArgs InnerEventArgument { get; }

```

#### Property Value

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

### <a id="VM_Managed_LinkEventArgs_PreviousEventNotifier"></a> PreviousEventNotifier

Gets the previous linked object.

```csharp
public object PreviousEventNotifier { get; }

```

#### Property Value

object

### <a id="VM_Managed_LinkEventArgs_Reason"></a> Reason

Gets the type of evnet.

```csharp
public NotifyReason Reason { get; }

```

#### Property Value

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

## Methods

### <a id="VM_Managed_LinkEventArgs_ExistDestroyingTarget_System_Object_"></a> ExistDestroyingTarget(object)

```csharp
public bool ExistDestroyingTarget(object target)

```

#### Parameters

`target` object

#### Returns

bool

### <a id="VM_Managed_LinkEventArgs_ExistUpdatingTarget_System_Object_"></a> ExistUpdatingTarget(object)

```csharp
public bool ExistUpdatingTarget(object target)

```

#### Parameters

`target` object

#### Returns

bool

### <a id="VM_Managed_LinkEventArgs_IsDestroying_System_Object_"></a> IsDestroying(object)

```csharp
public bool IsDestroying(object objNotifier)

```

#### Parameters

`objNotifier` object

#### Returns

bool

### <a id="VM_Managed_LinkEventArgs_IsUpdating_System_Object_"></a> IsUpdating(object)

```csharp
public bool IsUpdating(object objNotifier)

```

#### Parameters

`objNotifier` object

#### Returns

bool