API Reference

Class

ExcelTabularColumn`1

Namespace OfficeIMO.Excel
Assembly OfficeIMO.Excel
Modifiers abstract

Describes a strongly typed column for package-native object exports.

Inheritance

  • Object
  • ExcelTabularColumn`1

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Type Parameters

T

Methods

Create 11 overloads
public static ExcelTabularColumn<T> Create<TValue>(String header, Func<T, TValue> selector) #
Returns: ExcelTabularColumn<T>

Creates a text column.

Type Parameters

TValue

Parameters

header System.String requiredposition: 0
selector System.Func{`0,System.String} requiredposition: 1
Create(System.String header, System.Func{`0,System.Boolean} selector) #

Creates a Boolean column.

Parameters

header System.String required
selector System.Func{`0,System.Boolean} required
Create(System.String header, System.Func{`0,System.DateTime} selector) #

Creates a date and time column.

Parameters

header System.String required
selector System.Func{`0,System.DateTime} required
Create(System.String header, System.Func{`0,System.DateTimeOffset} selector) #

Creates a date, time, and offset column.

Parameters

header System.String required
selector System.Func{`0,System.DateTimeOffset} required
Create(System.String header, System.Func{`0,System.TimeSpan} selector) #

Creates a duration column.

Parameters

header System.String required
selector System.Func{`0,System.TimeSpan} required
Create(System.String header, System.Func{`0,System.Double} selector) #

Creates a double-precision numeric column.

Parameters

header System.String required
selector System.Func{`0,System.Double} required
Create(System.String header, System.Func{`0,System.Single} selector) #

Creates a single-precision numeric column.

Parameters

header System.String required
selector System.Func{`0,System.Single} required
Create(System.String header, System.Func{`0,System.Decimal} selector) #

Creates a decimal column.

Parameters

header System.String required
selector System.Func{`0,System.Decimal} required
Create(System.String header, System.Func{`0,System.Int32} selector) #

Creates a signed 32-bit integer column.

Parameters

header System.String required
selector System.Func{`0,System.Int32} required
Create(System.String header, System.Func{`0,System.Int64} selector) #

Creates a signed 64-bit integer column.

Parameters

header System.String required
selector System.Func{`0,System.Int64} required
Create(System.String header, System.Func{`0,System.UInt64} selector) #

Creates an unsigned 64-bit integer column.

Parameters

header System.String required
selector System.Func{`0,System.UInt64} required
Create``1(System.String header, System.Func{`0,``0} selector) #

Creates a column for another value type.

Parameters

header System.String required
selector System.Func{`0,``0} required

Properties

public String Header { get; } #

Column header written to the worksheet.