Synced
EditorContext.TryGetLayoutSection
Section titled “EditorContext.TryGetLayoutSection”
- Tries to read one independent editor layout section snapshot.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Core
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Core.EditorContext.TryGetLayoutSection(string sectionName, out System.Collections.Generic.IReadOnlyDictionary<string, string> values)Parameters
Section titled “Parameters”Parameter sectionName: The section name without its INI header syntax.
Parameter values: The copied values when the section exists.
Returns
Section titled “Returns”true when the requested section exists.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when sectionName is empty or cannot be represented in the layout.