Class MaximumLengthAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Sets a maximum allowed length for this slash command option. Only valid for String parameters.
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public class MaximumLengthAttribute : Attribute- Inheritance
- 
      
      
      MaximumLengthAttribute
Constructors
- MaximumLengthAttribute(int)
- Sets a maximum allowed length for this slash command option. Only valid for String parameters. 
Properties
- Value
- The value.