Open sandboxFocus

Field StringLengthMaxErrorMessage

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

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