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

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

```csharp theme={null}
public abstract class InheritableList<T> : List<T>
```

#### Type Parameters

`T`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[List\<T>](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1) ←
[InheritableList\<T>](https://developer.synopsys.com/docs/motion/motion-standalone-postprocessor-c-sharp-library/2025-r1/lib/VM.Collections.InheritableList-1.md)

## Constructors

### InheritableList()

```csharp theme={null}
public InheritableList()
```

### InheritableList(int)

```csharp theme={null}
public InheritableList(int capacity)
```

#### Parameters

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

### InheritableList(IEnumerable\<T>)

```csharp theme={null}
public InheritableList(IEnumerable<T> collection)
```

#### Parameters

`collection` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<T>

## Properties

### this\[int]

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

#### Property Value

T

## Methods

### Add(T)

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

#### Parameters

`item` T

### AddRange(IEnumerable\<T>)

```csharp theme={null}
public void AddRange(IEnumerable<T> collection)
```

#### Parameters

`collection` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<T>

### Clear()

```csharp theme={null}
public void Clear()
```

### ClearItems()

```csharp theme={null}
protected virtual void ClearItems()
```

### Insert(int, T)

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

#### Parameters

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

`item` T

### InsertItem(int, T)

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

#### Parameters

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

`item` T

### InsertRange(int, IEnumerable\<T>)

```csharp theme={null}
public void InsertRange(int index, IEnumerable<T> collection)
```

#### Parameters

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

`collection` [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<T>

### Remove(T)

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

#### Parameters

`item` T

#### Returns

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

### RemoveAll(Predicate\<T>)

```csharp theme={null}
public int RemoveAll(Predicate<T> match)
```

#### Parameters

`match` [Predicate](https://learn.microsoft.com/dotnet/api/system.predicate-1)\<T>

#### Returns

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

### RemoveAt(int)

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

#### Parameters

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

### RemoveItem(int)

```csharp theme={null}
protected virtual void RemoveItem(int index)
```

#### Parameters

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

### RemoveRange(int, int)

```csharp theme={null}
public void RemoveRange(int index, int count)
```

#### Parameters

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

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

### SetItem(int, T)

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

#### Parameters

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

`item` T
