    

 ## On this page

  

 

 # Class IdentifierCollection&lt;TItem\\&gt;

 Last update: 16.07.2025 

Namespace: [VM.Collections](VM.Collections.md)  
Assembly: VM.dll

```python
public class IdentifierCollection<TItem> : KeyedCollection<Identifier, TItem> where TItem : IHasID

```

#### Type Parameters

`TItem`

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← [Collection&lt;TItem&gt;](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.collection-1) ← [KeyedCollection&lt;Identifier, TItem&gt;](https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.keyedcollection-2) ← [IdentifierCollection&lt;TItem&gt;](VM.Collections.IdentifierCollection-1.md)

## Constructors

### <a id="VM_Collections_IdentifierCollection_1__ctor"></a> IdentifierCollection()

```python
public IdentifierCollection()

```

## Methods

### <a id="VM_Collections_IdentifierCollection_1_GetKeyForItem__0_"></a> GetKeyForItem(TItem)

```python
protected override Identifier GetKeyForItem(TItem item)

```

#### Parameters

`item` TItem

#### Returns

[Identifier](VM.Identifier.md)