Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / DataImportOptions Class / ItemTypeProvider Property
In This Topic
    ItemTypeProvider Property
    In This Topic
    Gets item type from the specified System.Collections.IEnumerable. The type is used to generate columns. The default behavior is to try to get the item type from the generic parameter of System.Collections.Generic.IEnumerable`1, then try to get type from the first item of the System.Collections.IEnumerable.
    Syntax
    public System.Func<IEnumerable,Type> ItemTypeProvider {get; set;}

    Property Value

    The delegate accepts the System.Collections.IEnumerable for getting element type.
    The delegate returns the item type of the System.Collections.IEnumerable.
    See Also