Amazon.Runtime.Internal.Util.IniFile.TrySeekSection C# (CSharp) Метод

TrySeekSection() приватный Метод

private TrySeekSection ( String sectionName, int &lineNumber ) : bool
sectionName String
lineNumber int
Результат bool
        private bool TrySeekSection(String sectionName, ref int lineNumber)
        {
            string currentSectionName = null;
            while (SeekSection(ref lineNumber, out currentSectionName) &&
                !string.Equals(sectionName, currentSectionName, StringComparison.Ordinal))
            {
                lineNumber++;
            }
            return string.Equals(sectionName, currentSectionName, StringComparison.Ordinal);
        }

Same methods

IniFile::TrySeekSection ( Regex sectionNameRegex, int &lineNumber, string &sectionName ) : bool