Class EpplusExcelDataProvider
Inheritance
System.Object
EpplusExcelDataProvider
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: EPPlus.dll
public class EpplusExcelDataProvider : ExcelDataProvider, IDisposable
Constructors
Declaration
public EpplusExcelDataProvider(ExcelPackage package)
Parameters
Properties
Declaration
public override int ExcelMaxColumns { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Declaration
public override int ExcelMaxRows { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Methods
Declaration
public override void Dispose()
Overrides
Declaration
public override object GetCellValue(string sheetName, int row, int col)
Parameters
Type |
Name |
Description |
System.String |
sheetName |
|
System.Int32 |
row |
|
System.Int32 |
col |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Declaration
public override ExcelCellAddress GetDimensionEnd(string worksheet)
Parameters
Type |
Name |
Description |
System.String |
worksheet |
|
Returns
Overrides
Declaration
public override string GetFormat(object value, string format)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.String |
format |
|
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
public override ExcelDataProvider.INameInfo GetName(string worksheet, string name)
Parameters
Type |
Name |
Description |
System.String |
worksheet |
|
System.String |
name |
|
Returns
Overrides
Declaration
public override ExcelDataProvider.IRangeInfo GetRange(string worksheet, int fromRow, int fromCol, int toRow, int toCol)
Parameters
Type |
Name |
Description |
System.String |
worksheet |
|
System.Int32 |
fromRow |
|
System.Int32 |
fromCol |
|
System.Int32 |
toRow |
|
System.Int32 |
toCol |
|
Returns
Overrides
Declaration
public override ExcelDataProvider.IRangeInfo GetRange(string worksheet, int row, int column, string address)
Parameters
Type |
Name |
Description |
System.String |
worksheet |
|
System.Int32 |
row |
|
System.Int32 |
column |
|
System.String |
address |
|
Returns
Overrides
Declaration
public override ExcelDataProvider.IRangeInfo GetRange(string worksheet, string address)
Parameters
Type |
Name |
Description |
System.String |
worksheet |
|
System.String |
address |
|
Returns
Overrides
Declaration
public override string GetRangeFormula(string worksheetName, int row, int column)
Parameters
Type |
Name |
Description |
System.String |
worksheetName |
|
System.Int32 |
row |
|
System.Int32 |
column |
|
Returns
Type |
Description |
System.String |
|
Overrides
Declaration
public override List<Token> GetRangeFormulaTokens(string worksheetName, int row, int column)
Parameters
Type |
Name |
Description |
System.String |
worksheetName |
|
System.Int32 |
row |
|
System.Int32 |
column |
|
Returns
Type |
Description |
System.Collections.Generic.List<Token> |
|
Overrides
Declaration
public override object GetRangeValue(string worksheetName, int row, int column)
Parameters
Type |
Name |
Description |
System.String |
worksheetName |
|
System.Int32 |
row |
|
System.Int32 |
column |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Declaration
public override IEnumerable<object> GetRangeValues(string address)
Parameters
Type |
Name |
Description |
System.String |
address |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Object> |
|
Overrides
Declaration
public object GetValue(int row, int column)
Parameters
Type |
Name |
Description |
System.Int32 |
row |
|
System.Int32 |
column |
|
Returns
Type |
Description |
System.Object |
|
Declaration
public override ExcelNamedRangeCollection GetWorkbookNameValues()
Returns
Overrides
Declaration
public override ExcelNamedRangeCollection GetWorksheetNames(string worksheet)
Parameters
Type |
Name |
Description |
System.String |
worksheet |
|
Returns
Overrides
Declaration
public bool IsHidden(int row, int column)
Parameters
Type |
Name |
Description |
System.Int32 |
row |
|
System.Int32 |
column |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public bool IsMerged(int row, int column)
Parameters
Type |
Name |
Description |
System.Int32 |
row |
|
System.Int32 |
column |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override bool IsRowHidden(string worksheetName, int row)
Parameters
Type |
Name |
Description |
System.String |
worksheetName |
|
System.Int32 |
row |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override void Reset()
Overrides
Implements
System.IDisposable