Search Results for

    Show / Hide Table of Contents

    Method ToInt

    | Improve this Doc View Source

    ToInt(ISectionsData, String)

    Convert section data to integers.

    Declaration
    public static IEnumerable<int> ToInt(this ISectionsData sections, string sectionName)
    Parameters
    Type Name Description
    ISectionsData sections

    The data of sections.

    String sectionName

    The name of the section to convert.

    Returns
    Type Description
    IEnumerable<Int32>

    The section data in integer format.

    Exceptions
    Type Condition
    FormatException

    If the data in the section are not integers.

    SectionNotFoundException

    If the section does not exist.

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