You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OnDoc/ExcelNet/ExcelColumnAttribute.cs

16 lines
395 B

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; }
}
}