Skip to main content
A newer version of this page is available. .

ExcelDefinedNameSettings Class

Contains options used to select data from a range of cells specified using the defined name.

Namespace: DevExpress.DataAccess.Excel

Assembly: DevExpress.DataAccess.v18.1.dll

Declaration

public sealed class ExcelDefinedNameSettings :
    ExcelSettingsBase

Remarks

The ExcelSourceOptions.ImportSettings property exposed by the ExcelSourceOptions class allows you to specify the approach used to import data from a workbook. For instance, you can select all data from the specified worksheet or specify the required cell range. To select a range of cells specified using the defined name, create the ExcelDefinedNameSettings object and specify the defined name using the ExcelDefinedNameSettings.DefinedName property. If applicable, specify a defined name scope using the ExcelDefinedNameSettings.Scope property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExcelDefinedNameSettings class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
ExcelSettingsBase
ExcelDefinedNameSettings
See Also