Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Writes one neutral value under a stable extension-local key.

API: engine
Project: Inno.Editor.Core

public abstract void Inno.Editor.Core.EditorState.Set<T>(string key, T value)

Type parameter T: The neutral value type supplied by the caller.

Parameter key: The stable key local to the owning module or panel.

Parameter value: The value to persist.

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.