FlatFiles.ColumnDefinition.Parse C# (CSharp) Method

Parse() public abstract method

Parses the given value and returns the parsed object.
public abstract Parse ( string value ) : object
value string The value to parse.
return object
        public abstract object Parse(string value);

Usage Example

 /// <summary>
 /// Parses the given values assuming that they are in the same order as the column definitions.
 /// </summary>
 /// <param name="values">The values to parse.</param>
 /// <returns>The parsed objects.</returns>
 internal object[] ParseValues(string[] values)
 {
     object[] parsed = new object[values.Length];
     for (int index = 0; index != values.Length; ++index)
     {
         ColumnDefinition definition = definitions[index];
         parsed[index] = definition.Parse(values[index]);
     }
     return(parsed);
 }
All Usage Examples Of FlatFiles.ColumnDefinition::Parse