Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Interface ILinkCollection

Last update: 09.03.2026

Namespace: VM.Managed.Collections
Assembly: VMAppCore.dll

public interface ILinkCollection

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Properties

Container

ILinkContainer Container { get; }

Property Value

ILinkContainer

Count

Get the item count in the collection

int Count { get; }

Property Value

int

Methods

Clear()

Clear collection.

void Clear()

Contains(object)

bool Contains(object @object)

Parameters

object object

Returns

bool

DestroyObject(object, LinkEventArgs)

Destroy this link

void DestroyObject(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

DisposeCollection()

Dispose this collection

void DisposeCollection()
void GetAllLinks(ICollection<ILink> colLinks)

Parameters

colLinks ICollection<ILink>

MakeNullLink(object)

bool MakeNullLink(object @object)

Parameters

object object

Returns

bool

Remove specific link from the collection.

void RemoveLink(ILink link)

Parameters

link ILink

The link to remove

Reserve(object, LinkEventArgs)

bool Reserve(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

arg LinkEventArgs

Returns

bool

Connect with Ansys