LocalizedStringProviderValidateStringLengthFailed Method

Gets an error message used if the ValidateStringLengthAttribute attribute fails validation.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public virtual string ValidateStringLengthFailed(
	string argumentName,
	ValidateStringLengthAttribute attribute
)

Parameters

argumentName  String
The name of the argument.
attribute  ValidateStringLengthAttribute
The ValidateStringLengthAttribute.

Return Value

String
The error message.

See Also