API Reference

Class

ExcelColumnAttribute

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Base Attribute
Modifiers sealed
Attributes
AttributeUsage(128, AllowMultiple = false, Inherited = true)

Declares explicit spreadsheet header aliases for typed read mapping.

Inheritance

  • Attribute
  • ExcelColumnAttribute

Constructors

public ExcelColumnAttribute(String name, params String[] aliases) #

Creates a new explicit header mapping definition.

Parameters

name System.String requiredposition: 0
aliases System.String[] requiredposition: 1

Properties

public String Name { get; } #

Primary header name to map to the decorated property.

public IReadOnlyList<String> Aliases { get; } #

Additional header aliases to map to the decorated property.