Synced
EditorContext.SetLayoutSection
Section titled “EditorContext.SetLayoutSection”
- Adds or replaces one human-readable editor layout section in memory.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Core
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Core.EditorContext.SetLayoutSection(string sectionName, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> values)Parameters
Section titled “Parameters”Parameter sectionName: The section name without its INI header syntax.
Parameter values: The complete scalar or JSON-formatted values.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when values is null.
Exception T:System.ArgumentException: Thrown when a section name, key, or value cannot be represented in the layout.