Search Results for

    Show / Hide Table of Contents

    Method GetIntValue

    | Improve this Doc View Source

    GetIntValue(String)

    Gets the value of a variable in int format.

    Declaration
    int GetIntValue(string variable)
    Parameters
    Type Name Description
    String variable

    The variable name of the value to get.

    Returns
    Type Description
    Int32

    A value of the variable in int format.

    Exceptions
    Type Condition
    ArgumentNullException

    variable is null.

    VariableNotSetException

    variable is not set.

    FormatException

    value is not in int format.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright ©2021 DotEnv.Core