FixedWidthFieldAttribute class

This attribute is applied to Fields or Properties of a class to control where in the fixed width file this field belongs.

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class FixedWidthFieldAttribute : TextFieldAttribute

Public Members

name description
FixedWidthFieldAttribute(…) Default constructor. (2 constructors)
Padding { get; set; } Character to use to pad a text field if it doesn't meet the minimum size requirement for the fixed length field.

See Also