Skip to content

MaxLengthAttribute

1 min read

Import: import system.validation;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

MaxLengthAttribute

Maximum string or collection length.

public struct MaxLengthAttribute

value

Maximum number of characters or collection elements.

public value: int