# MemoryStoreSortedMap(ロブロックス クラス) > Provides access to a sorted map within MemoryStoreService. - URL:https://roblox.minecraft-okinawa.com/reference/classes/MemoryStoreSortedMap/ - 公式:https://create.roblox.com/docs/reference/engine/classes/MemoryStoreSortedMap - 受け継いでいるクラス:Instance ## メソッド - `MemoryStoreSortedMap:GetAsync(key: string): Tuple`:Retrieves the value and sort key of a key in the sorted map. - `MemoryStoreSortedMap:GetRangeAsync(direction: SortDirection, count: int, exclusiveLowerBound: Variant, exclusiveUpperBound: Variant): Array`:Retrieves items within a sorted range of keys and sort keys. - `MemoryStoreSortedMap:GetSizeAsync(): int`:Gets the size of the sorted map. - `MemoryStoreSortedMap:RemoveAsync(key: string): ()`:Removes the provided key from the sorted map. - `MemoryStoreSortedMap:SetAsync(key: string, value: Variant, expiration: int64, sortKey: Variant): boolean`:Sets the value of a key. - `MemoryStoreSortedMap:UpdateAsync(key: string, transformFunction: Function, expiration: int64): Tuple`:Retrieves the value and sort key of a key from a sorted map and updates it with a new value and sort key. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)