# LegacySpreadsheetDetection

Describes one bounded legacy-spreadsheet source profile match.

Class 

`OfficeIMO.Excel.Legacy`

**Namespace**

`OfficeIMO.Excel.Legacy`

**Assembly**

`OfficeIMO.Excel`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

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

**Modifiers**

sealed

Describes one bounded legacy-spreadsheet source profile match.

## Inheritance

- object
- LegacySpreadsheetDetection

## Usage

Explore 2 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 2

- Method [LegacySpreadsheetImporter.Detect](/api/excel/officeimo-excel-legacy-legacyspreadsheetimporter/#method-detect-string-officeimo-excel-legacy-legacyspreadsheetimportoptions-threading-cancellationtoken)
- Property [LegacySpreadsheetImportResult.Detection](/api/excel/officeimo-excel-legacy-legacyspreadsheetimportresult/#property-detection)

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 LegacySpreadsheetFormat Format { get; }` [#](#property-format)

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

Gets the detected product family.

`public string ProfileId { get; }` [#](#property-profileid)

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

Gets the stable adapter/profile identifier.

`public int Confidence { get; }` [#](#property-confidence)

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

Gets confidence from 0 through 100.

`public string Reason { get; }` [#](#property-reason)

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

Gets the bounded evidence used for detection.

<!-- PowerForge markdown artifact sha256:2EB11E7213ADCDB2D0F883793B92AD0195010A2CE7487790E4F4BACF4C1C7650 -->
