Files
OnDoc/ExcelNet/ExcelColumnAttribute.cs
2024-07-18 14:22:38 +02:00

16 lines
395 B
C#

using System;
namespace FastExcel
{
/// <summary>
/// Add a custom name to the field
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public class ExcelColumnAttribute : Attribute
{
/// <summary>
/// Column name in Excel
/// </summary>
public string Name { get; set; }
}
}