Click or drag to resize

StringLengthAttribute Constructor (Int32, Boolean, Char)

Initializes a new instance of the StringLengthAttribute class.

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

Parameters

len
Type: SystemInt32
The exact length.
padLeft
Type: SystemBoolean
Whether to apply the pad char to the left or to the right.
padChar
Type: SystemChar
The pad char to apply up to the max length.
See Also