Open sandboxFocus

Field StringLengthMaxErrorMessage

The identifier of the error message shown when the StringLengthAttribute constraint is violated (only the maximum length was specified).

Namespace: PostSharp.Patterns.Contracts
Assembly: PostSharp.Patterns.Common.dll
Syntax
public const string StringLengthMaxErrorMessage = "StringLengthMaxErrorMessage"
Returns
Type Description
string The identifier of the error message shown when the constraint is violated (only the maximum length was specified).