Back to Devexpress

DefinedName.Scope Property

officefileapi-devexpress-dot-spreadsheet-dot-definedname-0dc7257f.md

latest1.9 KB
Original Source

DefinedName.Scope Property

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

Declaration

csharp
Worksheet Scope { get; }
vb
ReadOnly Property Scope As Worksheet

Property Value

TypeDescription
Worksheet

A Worksheet object which stores the given defined name, or null ( Nothing in Visual Basic) if the name has a workbook scope.

|

Remarks

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

IsGlobal

DefinedName Interface

DefinedName Members

DevExpress.Spreadsheet Namespace