# LegacyDocCompoundFeature

Describes preserve-only compound storage 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**

[LegacyDocCompoundFeature.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L16)

**Modifiers**

sealed

Describes preserve-only compound storage discovered while importing a legacy DOC document.

## Inheritance

- object
- LegacyDocCompoundFeature

## 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.LegacyDocCompoundFeatures](/api/word/officeimo-word-worddocument/#property-legacydoccompoundfeatures)

Filter members 

Show inherited

## Constructors

`public LegacyDocCompoundFeature(LegacyDocCompoundFeatureKind kind, string code, string description, string? entryPath, string detailCode, int entryCount, long totalBytes)` [#](#constructor-ctor-officeimo-word-legacydoc-model-legacydoccompoundfeaturekind-string-string-string-string-int32-int64)

[LegacyDocCompoundFeature.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L16)

Creates preserved compound feature metadata.

Parameters

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

Structured compound feature category.

**code string required**

Stable feature code.

**description string required**

Human-readable feature description.

**entryPath string? required**

First compound-file entry path associated with the feature.

**detailCode string required**

Stable feature subtype key for reports and future import planning.

**entryCount int required**

Number of matching compound-file entries.

**totalBytes long required**

Sum of matching entry sizes, when reported by the compound container.

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

[LegacyDocCompoundFeature.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L36)

Gets the structured compound feature category.

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

[LegacyDocCompoundFeature.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L41)

Gets the stable feature code.

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

[LegacyDocCompoundFeature.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L46)

Gets the human-readable feature description.

`public string? EntryPath { get; }` [#](#property-entrypath)

[LegacyDocCompoundFeature.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L51)

Gets the first compound-file entry path associated with the feature, when known.

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

[LegacyDocCompoundFeature.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L56)

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

`public int EntryCount { get; }` [#](#property-entrycount)

[LegacyDocCompoundFeature.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L61)

Gets the number of matching compound-file entries.

`public long TotalBytes { get; }` [#](#property-totalbytes)

[LegacyDocCompoundFeature.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeature.cs#L66)

Gets the sum of matching entry sizes, when reported by the compound container.

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