<!-- Generated by tools/SharpCell.Docs from the XML documentation comments. Do not edit; run the tool with 'generate'. -->

# DefinedName

```csharp
public sealed class DefinedName
```

Namespace `SharpCell` · package `SharpCell`

A defined name as [Workbook.DefinedNames](SharpCell.Workbook.md#definednames) lists it.

## Properties

<a id="formula"></a>
### Formula

```csharp
public string Formula { get; }
```

The formula the name stands for, starting with `=`, such as `=Sheet1!$A$1:$A$10`.

<a id="name"></a>
### Name

```csharp
public string Name { get; }
```

The name as it was defined; formulas use it ignoring case.

<a id="scope"></a>
### Scope

```csharp
public Worksheet? Scope { get; }
```

The sheet the name is visible on, or null for a name of the whole workbook.

## Methods

<a id="tostring"></a>
### ToString()

```csharp
public override string ToString()
```

The name.
