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

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

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

```csharp theme={null}
public class LinkEventArgs : EventArgs
```

#### Inheritance

object ←
EventArgs ←
[LinkEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.LinkEventArgs.md)

#### Derived

[DestroyEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.DestroyEventArgs.md),
[GetRelationInfoEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.GetRelationInfoEventArgs.md),
[NameChangedEventArgs](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.NameChangedEventArgs.md)

#### Extension Methods

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

## Constructors

### LinkEventArgs(NotifyReason, object, LinkEventArgs, object)

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

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

#### Parameters

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

The type of event.

`extra` object

The extra object information.

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

The inner event.

`obEventPrevious` object

The previous linked object.

### LinkEventArgs(Document, NotifyReason, object)

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

```csharp theme={null}
public LinkEventArgs(Document document, NotifyReason reason, object extra)
```

#### Parameters

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

The document of event.

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

The type of event.

`extra` object

The extra object information.

### LinkEventArgs(NotifyReason, object)

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

```csharp theme={null}
public LinkEventArgs(NotifyReason reason, object extra)
```

#### Parameters

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

The type of event.

`extra` object

The extra object information.

### LinkEventArgs(NotifyReason, LinkEventArgs, object)

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

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

#### Parameters

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

The type of event.

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

The inner event.

`obEventPrevious` object

The previous linked object.

### LinkEventArgs(Document, NotifyReason)

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

```csharp theme={null}
public LinkEventArgs(Document document, NotifyReason reason)
```

#### Parameters

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

The document of event.

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

The type of event.

### LinkEventArgs(NotifyReason)

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

```csharp theme={null}
public LinkEventArgs(NotifyReason reason)
```

#### Parameters

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

The type of event.

## Properties

### Document

Gets the document.

```csharp theme={null}
public Document Document { get; }
```

#### Property Value

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

### EntitiesForCircularReference

Gets or sets the objects for circular reference.

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

#### Property Value

HashSet\<[ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.ObjectBase.md)>

### Extra

Gets the extra object information.

```csharp theme={null}
public object Extra { get; }
```

#### Property Value

object

### InnerEventArgument

Gets the inner event.

```csharp theme={null}
public LinkEventArgs InnerEventArgument { get; }
```

#### Property Value

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

### PreviousEventNotifier

Gets the previous linked object.

```csharp theme={null}
public object PreviousEventNotifier { get; }
```

#### Property Value

object

### Reason

Gets the type of evnet.

```csharp theme={null}
public NotifyReason Reason { get; }
```

#### Property Value

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

## Methods

### ExistDestroyingTarget(object)

```csharp theme={null}
public bool ExistDestroyingTarget(object target)
```

#### Parameters

`target` object

#### Returns

bool

### ExistUpdatingTarget(object)

```csharp theme={null}
public bool ExistUpdatingTarget(object target)
```

#### Parameters

`target` object

#### Returns

bool

### IsDestroying(object)

```csharp theme={null}
public bool IsDestroying(object objNotifier)
```

#### Parameters

`objNotifier` object

#### Returns

bool

### IsUpdating(object)

```csharp theme={null}
public bool IsUpdating(object objNotifier)
```

#### Parameters

`objNotifier` object

#### Returns

bool
