Home MaxLengthAttribute Class
MaxLengthAttribute Class
Cancel

MaxLengthAttribute Class

Namespace: Json.Schema.Generation

Inheritance: MaxLengthAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object

Implemented interfaces:

  • IAttributeHandler

Applies a maxLength keyword.

Properties

NameTypeSummary
ConditionGroupobjectIdentifies the condition group under which this attribute applies.
LengthuintThe maximum length.
TypeIdobject 

Constructors

MaxLengthAttribute(uint length)

Creates a new Json.Schema.Generation.MaxLengthAttribute instance.

Declaration

1
public MaxLengthAttribute(uint length)
ParameterTypeDescription
lengthuintThe value.
Contents