Class SupaCsiColumn
Provides the mapping from an import CSV column to the corresponding destination SUPA record field.
public class SupaCsiColumn
- Inheritance
-
SupaCsiColumn
- Inherited Members
Fields
HeaderNames
List of alternative header names, e.g. different languages, for an import CSV column.
May be null if the CSV file does not have headers.
public string[] HeaderNames
Field Value
- string[]
Position
Zero based column position of import CSV column.
public int Position
Field Value
Remarks
This defaults to -1 to indicate that the position is not defined.
Tag
The destination SUPA record field tag.
public string Tag
Field Value
Properties
HeaderName
The first header name from HeaderNames.
public string HeaderName { get; set; }
Property Value
Remarks
If no HeaderNames have been set, then this returns the value of Tag.
Methods
ContainsHeaderName(string)
public bool ContainsHeaderName(string sHeaderName)
Parameters
sHeaderNamestring
Returns
CreateJson()
public JsonObject CreateJson()
Returns
ParseJson(JsonObject)
public static SupaCsiColumn ParseJson(JsonObject jsCsiColumn)
Parameters
jsCsiColumnJsonObject
Returns
ToString()
public override string ToString()