Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

ExcelColumnAttribute

OfficeIMO.Excel

Namespace
OfficeIMO.Excel
Assembly
OfficeIMO.Excel
Source revision
5e5a2dda74b3 with working tree changes
Base
Attribute
Implements
IDataColumnAliasProvider
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 string required
aliases string[] required

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.