Class SheetAttribute
Declares which sheet of the workbook a model binds to, its shape, and where its headers live.
[AttributeUsage(AttributeTargets.Class)]
public sealed class SheetAttribute : Attribute
- Inheritance
-
SheetAttribute
- Inherited Members
- Extension Methods
Constructors
SheetAttribute(string)
Declares which sheet of the workbook a model binds to, its shape, and where its headers live.
public SheetAttribute(string name)
Parameters
namestring
Properties
HeaderRows
The one or more header rows; a merged group header plus subheaders is two rows.
public int[] HeaderRows { get; init; }
Property Value
- int[]
Kind
The sheet's shape: a table of rows under a header row by default, or a block of label/value
pairs read with KeyValueModel.
public ProtoSheetKind Kind { get; init; }
Property Value
Name
public string Name { get; }