# LegacySpreadsheetNameContent

Describes a safely recovered source named range.

Class 

`OfficeIMO.Excel.Legacy`

**Namespace**

`OfficeIMO.Excel.Legacy`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[LegacySpreadsheetContracts.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L102)

**Modifiers**

sealed

Describes a safely recovered source named range.

## Inheritance

- object
- LegacySpreadsheetNameContent

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [LegacySpreadsheetImportResult.Names](/api/excel/officeimo-excel-legacy-legacyspreadsheetimportresult/#property-names)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Name { get; }` [#](#property-name)

[LegacySpreadsheetContracts.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L102)

Gets the source name.

`public string? ProjectedName { get; }` [#](#property-projectedname)

[LegacySpreadsheetContracts.cs:104](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L104)

Gets the exact workbook name that was projected, or null when validation or collision handling retained the source name as metadata only.

`public string SheetName { get; }` [#](#property-sheetname)

[LegacySpreadsheetContracts.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L106)

Gets the projected sheet name.

`public int FirstRow { get; }` [#](#property-firstrow)

[LegacySpreadsheetContracts.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L108)

Gets the first 1-based row.

`public int FirstColumn { get; }` [#](#property-firstcolumn)

[LegacySpreadsheetContracts.cs:110](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L110)

Gets the first 1-based column.

`public int LastRow { get; }` [#](#property-lastrow)

[LegacySpreadsheetContracts.cs:112](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L112)

Gets the last 1-based row.

`public int LastColumn { get; }` [#](#property-lastcolumn)

[LegacySpreadsheetContracts.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Excel/Legacy/LegacySpreadsheetContracts.cs#L114)

Gets the last 1-based column.

<!-- PowerForge markdown artifact sha256:A7A22920BF3390A6C742FB6D2EF1465C47B626433A719549DA11C365512789C4 -->
