PostSharp4.3/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.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public const string StringLengthMaxErrorMessage

Field Value

Type: String
See Also