Last modified: 2024-09-14
StorageMap Class
This class represents the key-value storage for the specific prefix in the given storage context.
Namespace: Neo.SmartContract.Framework.Services
Assembly: Neo.SmartContract.Framework
Syntax
public class StorageMap
Attribute
| Name | Description |
|---|---|
| Context | Storage context |
| Prefix | Prefix |
Methods
| Name | Description |
|---|---|
| Delete | Deletes the value corresponding to the key from the given storage context. This method has multiple overloads. |
| Get | Gets the byte[] value corresponding to the given key from the given storage context. This method has multiple overloads. |
| Put | Puts the key-value pair into the given storage context. This method has multiple overloads. |
| Find | Finds the content in the given storage context. This method has multiple overloads. |