officefileapi-devexpress-dot-spreadsheet-dot-definedname-0dc7257f.md
Gets a worksheet to which the defined name is scoped.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
Worksheet Scope { get; }
ReadOnly Property Scope As Worksheet
| Type | Description |
|---|---|
| Worksheet |
A Worksheet object which stores the given defined name, or null ( Nothing in Visual Basic) if the name has a workbook scope.
|
Each worksheet contained in a workbook, as well as the workbook itself, has its own collection of defined names accessible via the Worksheet.DefinedNames and IWorkbook.DefinedNames properties, respectively. If the specified defined name belongs to the workbook’s DefinedNameCollection, the Scope property returns null ( Nothing in Visual Basic). Use the DefinedName.IsGlobal property to determine whether the name has a global workbook scope.
See Also