Class MaxValueAttribute
Set the maximum value permitted for a number type parameter.
Namespace: Discord.Interactions
Assembly: Discord.Net.Interactions.dll
Syntax
public sealed class MaxValueAttribute : Attribute
Constructors
| Improve this Doc View SourceMaxValueAttribute(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 SourceValue
Gets the maximum value permitted.
Declaration
public double Value { get; }
Property Value
Type | Description |
---|---|
Double |