Search Results for

    Show / Hide Table of Contents

    Method TryGetSByteValue

    | Improve this Doc View Source

    TryGetSByteValue(String, out SByte)

    Try to retrieve the value of a variable in sbyte format.

    Declaration
    bool TryGetSByteValue(string variable, out sbyte value)
    Parameters
    Type Name Description
    String variable

    The variable name of the value to try retrieve.

    SByte value

    The sbyte value retrieved or 0.

    Returns
    Type Description
    Boolean

    true if the variable is set, otherwise false.

    Exceptions
    Type Condition
    ArgumentNullException

    variable is null.

    FormatException

    value is not in sbyte format.

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