Skip to main content
Namespace: VM
Assembly: VM.dll
Provides the ability to find and return an object by its identifier.

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Methods

TryResolve(string, out object)

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

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 if the element with the specified identifier is found; otherwise, false.

TryResolve(UIntPtr, out object)

Finds and returns the targets associated with the specified key.

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 if the element with the specified key is found; otherwise, false.