PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Contracts Namespace/Contract­Localized­Text­Provider Class/Contract­Localized­Text­Provider Fields/Contract­Localized­Text­Provider.​String­Length­Max­Error­Message Field

ContractLocalizedTextProvider.StringLengthMaxErrorMessage Field

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

Namespace:  PostSharp.Patterns.Contracts
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public const string StringLengthMaxErrorMessage = "StringLengthMaxErrorMessage"

Field Value

Type: String
See Also