    

 ## On this page

  

 

 # Class IDGenerator

 Last update: 09.03.2026 

<a id="VM_Managed_IDGenerator"></a>

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

```csharp
public class IDGenerator

```

#### Inheritance

object ← [IDGenerator](VM.Managed.IDGenerator.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_IDGenerator__ctor"></a> IDGenerator()

Initializes a new instance of the  class.

```csharp
public IDGenerator()

```

## Methods

### <a id="VM_Managed_IDGenerator_GetNextID"></a> GetNextID()

Get next ID.

```csharp
public Identifier GetNextID()

```

#### Returns

Identifier

### <a id="VM_Managed_IDGenerator_SetNextID_VM_Identifier_"></a> SetNextID(Identifier)

Set next ID.

```csharp
public void SetNextID(Identifier id)

```

#### Parameters

`id` Identifier