> ## 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 LinkListCollection<T, TLink>

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

```csharp theme={null}
public class LinkListCollection<T, TLink> : LinkCollection<T, TLink, List<TLink>>, ILinkCollection, IPostDeserialized where T : class where TLink : class, ITypedLink<T>
```

#### Type Parameters

`T`

`TLink`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[LinkCollection\<T, TLink, List\<TLink>>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md) ←
[LinkListCollection\<T, TLink>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkListCollection-2.md)

#### Implements

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

#### Inherited Members

[LinkCollection\<T, TLink, List\<TLink>>.m\_collection](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_m_collection),
[LinkCollection\<T, TLink, List\<TLink>>.m\_objLinkOwner](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_m_objLinkOwner),
[LinkCollection\<T, TLink, List\<TLink>>.m\_ehCollectionChanged](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_m_ehCollectionChanged),
[LinkCollection\<T, TLink, List\<TLink>>.m\_syncLock](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_m_syncLock),
[LinkCollection\<T, TLink, List\<TLink>>.raise\_CollectionChanged(object, NotifyCollectionChangedEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_raise_CollectionChanged_System_Object_System_Collections_Specialized_NotifyCollectionChangedEventArgs_),
[LinkCollection\<T, TLink, List\<TLink>>.Add(T)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Add__0_),
[LinkCollection\<T, TLink, List\<TLink>>.Add(T, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Add__0_System_Boolean_),
[LinkCollection\<T, TLink, List\<TLink>>.Clear()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Clear),
[LinkCollection\<T, TLink, List\<TLink>>.Clear(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Clear_System_Boolean_),
[LinkCollection\<T, TLink, List\<TLink>>.Contains(T)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Contains__0_),
[LinkCollection\<T, TLink, List\<TLink>>.CopyTo(T\[\], int)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3#VM_Managed_Collections_LinkCollection_3_CopyTo__0___System_Int32_),
[LinkCollection\<T, TLink, List\<TLink>>.GetEnumeratorImpl()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_GetEnumeratorImpl),
[LinkCollection\<T, TLink, List\<TLink>>.GetEnumerator()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_GetEnumerator),
[LinkCollection\<T, TLink, List\<TLink>>.Remove(T)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Remove__0_),
[LinkCollection\<T, TLink, List\<TLink>>.Remove(T, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Remove__0_System_Boolean_),
[LinkCollection\<T, TLink, List\<TLink>>.SetModified(ModifiedType, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_SetModified_VM_Managed_Collections_ModifiedType_System_Boolean_),
[LinkCollection\<T, TLink, List\<TLink>>.SimpleValueModifiedForCollection(ModifiedType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_SimpleValueModifiedForCollection_VM_Managed_Collections_ModifiedType_),
[LinkCollection\<T, TLink, List\<TLink>>.SimpleValueModifiedForCollection(ModifiedType, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_SimpleValueModifiedForCollection_VM_Managed_Collections_ModifiedType_System_Boolean_),
[LinkCollection\<T, TLink, List\<TLink>>.AddDestroyEvent(TLink)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_AddDestroyEvent__1_),
[LinkCollection\<T, TLink, List\<TLink>>.IsReadOnly](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_IsReadOnly),
[LinkCollection\<T, TLink, List\<TLink>>.Count](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Count),
[LinkCollection\<T, TLink, List\<TLink>>.CollectionChanged](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_CollectionChanged)

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

### LinkListCollection(ILinkContainer)

```csharp theme={null}
public LinkListCollection(ILinkContainer objParent)
```

#### Parameters

`objParent` ILinkContainer

### LinkListCollection(ILinkContainer, List\<TLink>)

```csharp theme={null}
public LinkListCollection(ILinkContainer objParent, List<TLink> collection)
```

#### Parameters

`objParent` ILinkContainer

`collection` [List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<TLink>

## Properties

### this\[int]

```csharp theme={null}
public virtual T this[int nIdx] { get; set; }
```

#### Property Value

T

## Methods

### ClearForLargeAmount()

```csharp theme={null}
public virtual void ClearForLargeAmount()
```

### IndexOf(T)

```csharp theme={null}
public virtual int IndexOf(T item)
```

#### Parameters

`item` T

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### Insert(int, T)

```csharp theme={null}
public virtual void Insert(int index, T item)
```

#### Parameters

`index` [int](https://learn.microsoft.com/dotnet/api/system.int32)

`item` T

### Remove(T)

```csharp theme={null}
public override bool Remove(T item)
```

#### Parameters

`item` T

#### Returns

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

### Remove(T, bool)

```csharp theme={null}
public override bool Remove(T item, bool bContainsDocument)
```

#### Parameters

`item` T

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

#### Returns

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

### RemoveAt(int)

```csharp theme={null}
public virtual void RemoveAt(int index)
```

#### Parameters

`index` [int](https://learn.microsoft.com/dotnet/api/system.int32)

### RemoveAt(int, bool)

```csharp theme={null}
public virtual void RemoveAt(int index, bool bContainsDocument)
```

#### Parameters

`index` [int](https://learn.microsoft.com/dotnet/api/system.int32)

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

### Replace(T, T)

```csharp theme={null}
public virtual void Replace(T oldItem, T newItem)
```

#### Parameters

`oldItem` T

`newItem` T

### Set(T\[])

```csharp theme={null}
public virtual void Set(T[] items)
```

#### Parameters

`items` T\[]
