Search Results for

    Show / Hide Table of Contents

    Method GetStringValue

    | Improve this Doc View Source

    GetStringValue(String)

    Gets the value of a variable in string format.

    Declaration
    string GetStringValue(string variable)
    Parameters
    Type Name Description
    String variable

    The variable name of the value to get.

    Returns
    Type Description
    String

    A 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