Open sandboxFocus

Field StringLengthRangeErrorMessage

The identifier of the error message shown when the StringLengthAttribute constraint is violated (both the minimum and the maximum length were specified).

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