Collapse Sidebar


Gets items within a sorted range of keys.

For a more in-depth look, take a look at the articles/Memory Store|Memory Store article.


Name Type Default Description

Sort direction, ascending or descending.


The number of items to retrieve; the maximum allowed value for this parameter is 200.

(Optional) Lower bound, exclusive, for the returned keys.

(Optional) Upper bound, exclusive, for the returned keys.


Return Type Summary

Item keys and values in the requested range.

Code Samples

Retrieving MemoryStore Keys

The code below prints all keys in a sorted map in alphabetical order with the help of the MemoryStoreSortedMap/GetRangeAsync method.