PostSharp 6.4 / / Post­Sharp Documentation / 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.4.11.0 (6.4.11.0)
Syntax
C#
public const string StringLengthMaxErrorMessage = "StringLengthMaxErrorMessage"

Field Value

Type: String
See Also