Search Results for

    Show / Hide Table of Contents

    Method GetFirstLineFloat

    | Improve this Doc View Source

    GetFirstLineFloat(ISectionsData, String, IFormatProvider)

    Gets the first line of the section in float format.

    Declaration
    public static float GetFirstLineFloat(this ISectionsData sections, string sectionName, IFormatProvider provider = null)
    Parameters
    Type Name Description
    ISectionsData sections

    The data of sections.

    String sectionName

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

    IFormatProvider provider

    An object that provides culture-specific formatting information.

    Returns
    Type Description
    Single

    The first line in float format.

    Remarks

    provider is null, the default culture is InvariantCulture.

    Exceptions
    Type Condition
    FormatException

    If the first line is not an float.

    SectionNotFoundException

    If the section does not exist.

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