[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.DataImportOptions.ColumnsSelector

ColumnsSelector Property

ColumnsSelector

选择要导入的列。默认行为是自动生成所有列。

Declaration
public Func<object, IEnumerable> ColumnsSelector { get; set; }
Property Value
Type Description
Func<object, IEnumerable>

该委托接受集合或DataTable以选择列。
该委托返回不同类型的值来描述选定的列:

Remarks

默认行为对于自定义对象不支持AOT。