f95270dd 119e c022 7a00 f73c2998e7eb - akesseler/Plexdata.CsvParser GitHub Wiki

CsvImporter(TInstance).GetHeaderName Method

This method returns the expected header name of a single column.

Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea

Syntax

C#

private static string GetHeaderName(
	ItemDescriptor descriptor
)

Parameters

 

descriptor
Type: Plexdata.CsvParser.Internals.ItemDescriptor
The column descriptor to get the header name from.

Return Value

Type: String
The header name which can be the header name of the column attribute or (if invalid) the name of the property.

Remarks

This method either returns the column header name which is set within the custom attribute or the property name if no column header name could be determined.

See Also

Reference

CsvImporter(TInstance) Class
Plexdata.CsvParser.Processors Namespace

⚠️ **GitHub.com Fallback** ⚠️