LeanCache.find Method [AX 2012]

Finds values in the cache that is stored under the provided key.

public anytype find(anytype _key)

Run On

Called

Parameters

_key
Type: anytype
The cache key.

Return Value

Type: anytype
The value that is stored under the given key; otherwise, a nullNothingnullptrunita null reference (Nothing in Visual Basic) value.

The base class always returns a value of type container .

The return type is anytype so that derived classes can overwrite this method to return data in more specific types.

Community Additions

ADD
Show: