Search Results for

    Show / Hide Table of Contents

    Class MaxValueAttribute

    Set the maximum value permitted for a number type parameter.

    Inheritance
    Object
    MaxValueAttribute
    Namespace: Discord.Interactions
    Assembly: Discord.Net.Interactions.dll
    Syntax
    public sealed class MaxValueAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    MaxValueAttribute(Double)

    Set the maximum value permitted for a number type parameter.

    Declaration
    public MaxValueAttribute(double value)
    Parameters
    Type Name Description
    Double value

    The maximum value permitted.

    Properties

    | Improve this Doc View Source

    Value

    Gets the maximum value permitted.

    Declaration
    public double Value { get; }
    Property Value
    Type Description
    Double

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.9.0