Table of Contents

Class MaximumLengthAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

Sets a maximum value for this slash command option. Only valid for string parameters.

[AttributeUsage(AttributeTargets.Parameter)]
public class MaximumLengthAttribute : Attribute
Inheritance
MaximumLengthAttribute
Inherited Members

Constructors

MaximumLengthAttribute(int)

Sets a maximum value for this slash command option. Only valid for string parameters.

Properties

Value

The value.