Alexandria.IniFile.FindOrCreateSection C# (CSharp) Method

FindOrCreateSection() public method

Return the section with the given name, creating it if necessary.
public FindOrCreateSection ( string name ) : IniFileSection
name string The name of the section.
return IniFileSection
        public IniFileSection FindOrCreateSection(string name)
        {
            IniFileSection section;

            if (!SectionsByName.TryGetValue(name, out section))
                section = new IniFileSection(this, name);
            return section;
        }