Show / Hide Table of Contents
Storage.Put Method (StorageContext, byte[], byte[])
Inserts a given value in the key-value format into the persistent storage.
Namespace: Neo.SmartContract.Framework.Services.Neo
Assembly: Neo.SmartContract.Framework
Syntax
This method has multiple overloads:
Parameters:
-
Context: Storage context as a StorageContext . If StorageContext is not passed in, CurrentContext is used by default.
-
Key: Key as a byte array.
-
Value: Value as a byte array.
Return value: void.
Example
Back