ExcelSchemaProvider.GetSchema(String, Stream, ExcelDocumentFormat, ExcelSourceOptionsBase, CancellationToken) Method
In This Article
Returns a schema for a specified Excel/CSV file.
Namespace: DevExpress.DataAccess.Excel
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
public FieldInfo[] GetSchema(
string fileName,
Stream stream,
ExcelDocumentFormat format,
ExcelSourceOptionsBase optionsBase,
CancellationToken token
)
#Parameters
Name | Type | Description |
---|---|---|
file |
String | A String value specifying the name of the source Excel/CSV file. |
stream | Stream | A Stream object. |
format | Excel |
An Excel |
options |
Excel |
An Excel |
token | Cancellation |
A Cancellation |
#Returns
Type | Description |
---|---|
Field |
An array of Field |
#Implements
See Also