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

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

```csharp theme={null}
public sealed class LinkCollectionWithFixedAddition<T, TLink, TCollection> : LinkCollection<T, TLink, TCollection>, ILinkCollection, IPostDeserialized where T : class where TLink : class, ITypedLink<T> where TCollection : ICollection<TLink>, new()
```

#### Type Parameters

`T`

`TLink`

`TCollection`

#### Inheritance

object ←
[LinkCollection\<T, TLink, TCollection>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md) ←
[LinkCollectionWithFixedAddition\<T, TLink, TCollection>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollectionWithFixedAddition-3.md)

#### Implements

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

#### Inherited Members

[LinkCollection\<T, TLink, TCollection>.raise\_CollectionChanged(object, NotifyCollectionChangedEventArgs)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_raise_CollectionChanged_System_Object_System_Collections_Specialized_NotifyCollectionChangedEventArgs_),
[LinkCollection\<T, TLink, TCollection>.Add(T)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Add__0_),
[LinkCollection\<T, TLink, TCollection>.Add(T, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Add__0_System_Boolean_),
[LinkCollection\<T, TLink, TCollection>.Clear()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Clear),
[LinkCollection\<T, TLink, TCollection>.Clear(bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Clear_System_Boolean_),
[LinkCollection\<T, TLink, TCollection>.Contains(T)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Contains__0_),
[LinkCollection\<T, TLink, TCollection>.CopyTo(T\[\], int)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3#VM_Managed_Collections_LinkCollection_3_CopyTo__0___System_Int32_),
[LinkCollection\<T, TLink, TCollection>.GetEnumeratorImpl()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_GetEnumeratorImpl),
[LinkCollection\<T, TLink, TCollection>.GetEnumerator()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_GetEnumerator),
[LinkCollection\<T, TLink, TCollection>.Remove(T)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Remove__0_),
[LinkCollection\<T, TLink, TCollection>.Remove(T, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Remove__0_System_Boolean_),
[LinkCollection\<T, TLink, TCollection>.SetModified(ModifiedType, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_SetModified_VM_Managed_Collections_ModifiedType_System_Boolean_),
[LinkCollection\<T, TLink, TCollection>.IsReadOnly](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_IsReadOnly),
[LinkCollection\<T, TLink, TCollection>.Count](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Managed.Collections.LinkCollection-3.md#VM_Managed_Collections_LinkCollection_3_Count),
[LinkCollection\<T, TLink, TCollection>.CollectionChanged](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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

### LinkCollectionWithFixedAddition(ILinkContainer, int)

```csharp theme={null}
public LinkCollectionWithFixedAddition(ILinkContainer objParent, int nMin)
```

#### Parameters

`objParent` ILinkContainer

`nMin` int

### LinkCollectionWithFixedAddition(ILinkContainer, int, int)

```csharp theme={null}
public LinkCollectionWithFixedAddition(ILinkContainer objParent, int nMin, int nMax)
```

#### Parameters

`objParent` ILinkContainer

`nMin` int

`nMax` int

### LinkCollectionWithFixedAddition(ILinkContainer, TCollection, int)

```csharp theme={null}
public LinkCollectionWithFixedAddition(ILinkContainer objParent, TCollection collection, int nMin)
```

#### Parameters

`objParent` ILinkContainer

`collection` TCollection

`nMin` int

### LinkCollectionWithFixedAddition(ILinkContainer, TCollection, int, int)

```csharp theme={null}
public LinkCollectionWithFixedAddition(ILinkContainer objParent, TCollection collection, int nMin, int nMax)
```

#### Parameters

`objParent` ILinkContainer

`collection` TCollection

`nMin` int

`nMax` int

## Methods

### Add(T)

```csharp theme={null}
public override sealed void Add(T item)
```

#### Parameters

`item` T

### Add(T, bool)

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

#### Parameters

`item` T

`bContainsDocument` bool

### Remove(T)

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

#### Parameters

`item` T

#### Returns

bool

### Remove(T, bool)

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

#### Parameters

`item` T

`bContainsDocument` bool

#### Returns

bool
