# LegacyDocPreservedFeature

Describes preserve-only non-compound feature metadata discovered while importing a legacy DOC document.

Class 

`OfficeIMO.Word.LegacyDoc.Model`

**Namespace**

`OfficeIMO.Word.LegacyDoc.Model`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[LegacyDocPreservedFeature.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocPreservedFeature.cs#L13)

**Modifiers**

sealed

Describes preserve-only non-compound feature metadata discovered while importing a legacy DOC document.

## Inheritance

- object
- LegacyDocPreservedFeature

## 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 [WordDocument.LegacyDocPreservedFeatures](/api/word/officeimo-word-worddocument/#property-legacydocpreservedfeatures)

Filter members 

Show inherited

## Constructors

`public LegacyDocPreservedFeature(LegacyDocPreservedFeatureKind kind, string code, string description, string detailCode)` [#](#constructor-ctor-officeimo-word-legacydoc-model-legacydocpreservedfeaturekind-string-string-string)

[LegacyDocPreservedFeature.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocPreservedFeature.cs#L13)

Creates preserved feature metadata.

Parameters

**kind OfficeIMO.Word.LegacyDoc.Model.LegacyDocPreservedFeatureKind required**

Structured preserved feature category.

**code string required**

Stable feature code.

**description string required**

Human-readable feature description.

**detailCode string required**

Stable feature subtype key for reports and future import planning.

## 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 LegacyDocPreservedFeatureKind Kind { get; }` [#](#property-kind)

[LegacyDocPreservedFeature.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocPreservedFeature.cs#L27)

Gets the structured preserved feature category.

`public string Code { get; }` [#](#property-code)

[LegacyDocPreservedFeature.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocPreservedFeature.cs#L32)

Gets the stable feature code.

`public string Description { get; }` [#](#property-description)

[LegacyDocPreservedFeature.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocPreservedFeature.cs#L37)

Gets the human-readable feature description.

`public string DetailCode { get; }` [#](#property-detailcode)

[LegacyDocPreservedFeature.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocPreservedFeature.cs#L42)

Gets a stable feature subtype key for reports and future import planning.

<!-- PowerForge markdown artifact sha256:82477094DF0121F6CD0736DA7F82A5E13CE4FF610D81C0B0E257F459BDEFBC02 -->
