    

 ## On this page

  

 

 # Interface IIdentifierResolver

 Last update: 09.03.2026 

<a id="VM_IIdentifierResolver"></a>

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

Provides the ability to find and return an object by its identifier.

```csharp
public interface IIdentifierResolver

```

#### 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_)

## Methods

### <a id="VM_IIdentifierResolver_TryResolve_System_String_System_Object__"></a> TryResolve(string, out object)

Finds and returns the destination object associated with the specified identifier.

```csharp
bool TryResolve(string identifier, out object target)

```

#### Parameters

`identifier` string

The identifier of the target to find.

`target` object

When this method returns, it contains the target associated with the specified identifier, if any, otherwise it contains the default value for the format of the `target` parameter. This parameter is passed uninitialized.

#### Returns

bool

[true](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool) if the element with the specified identifier is found; otherwise, [false](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool).

### <a id="VM_IIdentifierResolver_TryResolve_System_UIntPtr_System_Object__"></a> TryResolve(UIntPtr, out object)

Finds and returns the targets associated with the specified key.

```csharp
bool TryResolve(UIntPtr key, out object target)

```

#### Parameters

`key` UIntPtr

The key of the target to find.

`target` object

When this method returns, it contains the target associated with the specified key, if any, otherwise it contains the default value for the format of the `target` parameter. This parameter is passed uninitialized.

#### Returns

bool

[true](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool) if the element with the specified key is found; otherwise, [false](https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool).