PostSharp5.0/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: 5.0.55.0 (5.0.55.0)
Syntax
C#
public const string StringLengthMaxErrorMessage = "StringLengthMaxErrorMessage"

Field Value

Type: String
See Also