Search Results for

    Show / Hide Table of Contents

    Class MaximumLengthAttribute

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

    Inheritance
    System.Object
    System.Attribute
    MaximumLengthAttribute
    Namespace: DisCatSharp.ApplicationCommands.Attributes
    Assembly: DisCatSharp.ApplicationCommands.dll
    Syntax
    [AttributeUsage(AttributeTargets.Parameter)]
    public class MaximumLengthAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    MaximumLengthAttribute(Int32)

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

    Declaration
    public MaximumLengthAttribute(int value)
    Parameters
    Type Name Description
    System.Int32 value

    Properties

    | Improve this Doc View Source

    Value

    The value.

    Declaration
    public int? Value { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems