InMemoryStorage<T> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generic in-memory storage of items
public class InMemoryStorage<T>
type InMemoryStorage<'T> = class
Public Class InMemoryStorage(Of T)
- T
T defines the type of item stored
- Inheritance
-
InMemoryStorage<T>
Max |
Gets or sets the maximum count of Items that can be stored in this InMemoryStorage instance. |
Clear() |
Clears all items stored in memory |
Clear(Time |
Clears items stored in memory based on duration passed |
Get |
Get item from in-memory storage as long as it has not ex |
Remove(IEnumerable<String>) |
Remove items based on provided keys |
Set |
Add new item to in-memory storage |
Produto | Versões |
---|---|
Windows Community Toolkit | 6.1.1, 7.0.0, 7.1.0 |