Search Results for

    Show / Hide Table of Contents

    Property Item

    | Improve this Doc View Source

    Item[String]

    Gets the value of a variable in string format.

    Declaration
    string this[string variable] { get; }
    Parameters
    Type Name Description
    String variable

    The variable name of the value to get.

    Property Value
    Type Description
    String

    The value of the variable in string format.

    Exceptions
    Type Condition
    ArgumentNullException

    variable is null.

    VariableNotSetException

    variable is not set.

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