> ## 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/2025-r1/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](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-r1/lib/VM.Managed.LinkEventArgs.md)

#### Derived

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

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

## 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/2025-r1/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/2025-r1/lib/VM.Managed.NotifyReason.md)

The type of event.

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

The extra object information.

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

The inner event.

`obEventPrevious` [object](https://learn.microsoft.com/dotnet/api/system.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/2025-r1/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/2025-r1/lib/VM.Managed.Document.md)

The document of event.

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

The type of event.

`extra` [object](https://learn.microsoft.com/dotnet/api/system.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/2025-r1/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/2025-r1/lib/VM.Managed.NotifyReason.md)

The type of event.

`extra` [object](https://learn.microsoft.com/dotnet/api/system.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/2025-r1/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/2025-r1/lib/VM.Managed.NotifyReason.md)

The type of event.

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

The inner event.

`obEventPrevious` [object](https://learn.microsoft.com/dotnet/api/system.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/2025-r1/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/2025-r1/lib/VM.Managed.Document.md)

The document of event.

`reason` [NotifyReason](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/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](https://learn.microsoft.com/dotnet/api/system.collections.generic.hashset-1)\<[ObjectBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.ObjectBase.md)>

### Extra

Gets the extra object information.

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

#### Property Value

[object](https://learn.microsoft.com/dotnet/api/system.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/2025-r1/lib/VM.Managed.LinkEventArgs.md)

### PreviousEventNotifier

Gets the previous linked object.

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

#### Property Value

[object](https://learn.microsoft.com/dotnet/api/system.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/2025-r1/lib/VM.Managed.NotifyReason.md)

## Methods

### IsDestroying(object)

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

#### Parameters

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

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### IsUpdating(object)

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

#### Parameters

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

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)
