# LegacyWordDetection

Describes one bounded legacy-word source profile match.

Class 

`OfficeIMO.Word.Legacy`

**Namespace**

`OfficeIMO.Word.Legacy`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[LegacyWordContracts.cs:245](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L245)

**Modifiers**

sealed

Describes one bounded legacy-word source profile match.

## Inheritance

- object
- LegacyWordDetection

## 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 [LegacyWordImporter.Detect](/api/word/officeimo-word-legacy-legacywordimporter/#method-detect-string-officeimo-word-legacy-legacywordimportoptions-threading-cancellationtoken)
- Property [LegacyWordImportResult.Detection](/api/word/officeimo-word-legacy-legacywordimportresult/#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 LegacyWordFormat Format { get; }` [#](#property-format)

[LegacyWordContracts.cs:245](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L245)

Gets the detected product family.

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

[LegacyWordContracts.cs:247](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L247)

Gets a stable adapter/profile identifier.

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

[LegacyWordContracts.cs:249](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L249)

Gets confidence from 0 through 100.

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

[LegacyWordContracts.cs:251](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L251)

Gets the bounded evidence used for detection.

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