FixedWidthSerializer<TTargetType>.Parse method

Parses a line of text as a record and returns the fields.

protected override List<string> Parse(string text)
parameter description
text A single line of text for the entire record out of the file.

Return Value

A list of strings, where each string represents a field in the record.

Exceptions

exception condition
TextSerializationException Thrown if the record length does not match the calculated length for the TargetType object. Also thrown if any one field's length is not positive.

See Also