Click or drag to resize

StringLengthAttribute(Int32, Int32, Boolean, Char) Constructor

Initializes a new instance of the StringLengthAttribute class.

Namespace: EdiFabric.Core.Annotations.Validation
Assembly: EdiFabric (in EdiFabric.dll) Version: 10.7.4.0
Syntax
public StringLengthAttribute(
	int minLen,
	int maxLen,
	bool padLeft,
	char padChar
)

Parameters

minLen  Int32
The minimum allowed length.
maxLen  Int32
The maximum allowed length.
padLeft  Boolean
Whether to apply the pad char to the left or to the right.
padChar  Char
The pad char to apply up to the max length.
See Also