Synced
EditorState.Set
Section titled “EditorState.Set”
- Writes one neutral value under a stable extension-local key.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Core
Declaration
Section titled “Declaration”public abstract void Inno.Editor.Core.EditorState.Set<T>(string key, T value)Type parameters
Section titled “Type parameters”Type parameter T: The neutral value type supplied by the caller.
Parameters
Section titled “Parameters”Parameter key: The stable key local to the owning module or panel.
Parameter value: The value to persist.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when key is empty.
Exception T:System.InvalidOperationException: Thrown when the state parameter was supplied for restoration and is therefore read-only.
Exception T:System.NotSupportedException: Thrown when value cannot be represented by the runtime state serializer.