> ## 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.

# Interface IIdentifierResolver

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

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

```python theme={null}
public interface IIdentifierResolver
```

## Methods

### TryResolve(string, out object)

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

```python theme={null}
bool TryResolve(string identifier, out object target)
```

#### Parameters

`identifier` [string](https://learn.microsoft.com/dotnet/api/system.string)

The identifier of the target to find.

`target` [object](https://learn.microsoft.com/dotnet/api/system.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](https://learn.microsoft.com/dotnet/api/system.boolean)

[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).

### TryResolve(UIntPtr, out object)

Finds and returns the targets associated with the specified key.

```python theme={null}
bool TryResolve(UIntPtr key, out object target)
```

#### Parameters

`key` [UIntPtr](https://learn.microsoft.com/dotnet/api/system.uintptr)

The key of the target to find.

`target` [object](https://learn.microsoft.com/dotnet/api/system.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](https://learn.microsoft.com/dotnet/api/system.boolean)

[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).
