    

 ## On this page

  

 

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

 Last update: 16.07.2025 

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

```csharp
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

### IdentifierCollection()

```csharp
public IdentifierCollection()

```

## Methods

### GetKeyForItem(TItem)

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

```

#### Parameters

`item` TItem

#### Returns

[Identifier](VM.Identifier.md)