Synced
EditorContext.RemoveLayoutSection
Section titled “EditorContext.RemoveLayoutSection”
- Removes one editor layout section from the in-memory document.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Core
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Core.EditorContext.RemoveLayoutSection(string sectionName)Parameters
Section titled “Parameters”Parameter sectionName: The section name without its INI header syntax.
Returns
Section titled “Returns”true when an existing section was removed.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when sectionName is empty or cannot be represented in the layout.