Search Results for

    Show / Hide Table of Contents

    Method GetFirstLineInt

    | Improve this Doc View Source

    GetFirstLineInt(ISectionsData, String)

    Gets the first line of the section in integer format.

    Declaration
    public static int GetFirstLineInt(this ISectionsData sections, string sectionName)
    Parameters
    Type Name Description
    ISectionsData sections

    The data of sections.

    String sectionName

    The name of the section to gets in a specific format.

    Returns
    Type Description
    Int32

    The first line in integer format.

    Exceptions
    Type Condition
    FormatException

    If the first line is not an integer.

    SectionNotFoundException

    If the section does not exist.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright 2021 seztion-parser