Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class LinkEventArgs

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMAppCore.dll

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

public class LinkEventArgs : EventArgs

Inheritance

objectEventArgsLinkEventArgs

Derived

DestroyEventArgs, GetRelationInfoEventArgs, NameChangedEventArgs

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

LinkEventArgs(NotifyReason, object, LinkEventArgs, object)

Initializes a new instance of the class.

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

Parameters

reason NotifyReason

The type of event.

extra object

The extra object information.

innerArgs LinkEventArgs

The inner event.

obEventPrevious object

The previous linked object.

LinkEventArgs(Document, NotifyReason, object)

Initializes a new instance of the class.

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

Parameters

document Document

The document of event.

reason NotifyReason

The type of event.

extra object

The extra object information.

LinkEventArgs(NotifyReason, object)

Initializes a new instance of the class.

public LinkEventArgs(NotifyReason reason, object extra)

Parameters

reason NotifyReason

The type of event.

extra object

The extra object information.

LinkEventArgs(NotifyReason, LinkEventArgs, object)

Initializes a new instance of the class.

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

Parameters

reason NotifyReason

The type of event.

innerArgs LinkEventArgs

The inner event.

obEventPrevious object

The previous linked object.

LinkEventArgs(Document, NotifyReason)

Initializes a new instance of the class.

public LinkEventArgs(Document document, NotifyReason reason)

Parameters

document Document

The document of event.

reason NotifyReason

The type of event.

LinkEventArgs(NotifyReason)

Initializes a new instance of the class.

public LinkEventArgs(NotifyReason reason)

Parameters

reason NotifyReason

The type of event.

Properties

Document

Gets the document.

public Document Document { get; }

Property Value

Document

EntitiesForCircularReference

Gets or sets the objects for circular reference.

public HashSet<objectbase> EntitiesForCircularReference { get; set; }

Property Value

HashSetObjectBase&gt;

Extra

Gets the extra object information.

public object Extra { get; }

Property Value

object

InnerEventArgument

Gets the inner event.

public LinkEventArgs InnerEventArgument { get; }

Property Value

LinkEventArgs

PreviousEventNotifier

Gets the previous linked object.

public object PreviousEventNotifier { get; }

Property Value

object

Reason

Gets the type of evnet.

public NotifyReason Reason { get; }

Property Value

NotifyReason

Methods

IsDestroying(object)

public bool IsDestroying(object objNotifier)

Parameters

objNotifier object

Returns

bool

IsUpdating(object)

public bool IsUpdating(object objNotifier)

Parameters

objNotifier object

Returns

bool

Connect with Ansys