# LegacyDocCompoundFeatureKind

Identifies preserve-only compound storage categories discovered during legacy DOC import.

Enum 

`OfficeIMO.Word.LegacyDoc.Model`

**Namespace**

`OfficeIMO.Word.LegacyDoc.Model`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`e96266e685be` with working tree changes

**Source**

[LegacyDocCompoundFeatureKind.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeatureKind.cs#L5)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Identifies preserve-only compound storage categories discovered during legacy DOC import.

## Inheritance

- Enum
- LegacyDocCompoundFeatureKind

## Usage

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

- Property [LegacyDocCompoundFeature.Kind](/api/word/officeimo-word-legacydoc-model-legacydoccompoundfeature/#property-kind)
- Field [LegacyDocCompoundFeatureKind.ActiveXControl](/api/word/officeimo-word-legacydoc-model-legacydoccompoundfeaturekind/#field-activexcontrol)
- Field [LegacyDocCompoundFeatureKind.BinaryData](/api/word/officeimo-word-legacydoc-model-legacydoccompoundfeaturekind/#field-binarydata)
- Field [LegacyDocCompoundFeatureKind.DigitalSignature](/api/word/officeimo-word-legacydoc-model-legacydoccompoundfeaturekind/#field-digitalsignature)
- Field [LegacyDocCompoundFeatureKind.EmbeddedPackage](/api/word/officeimo-word-legacydoc-model-legacydoccompoundfeaturekind/#field-embeddedpackage)
- Field [LegacyDocCompoundFeatureKind.OleObject](/api/word/officeimo-word-legacydoc-model-legacydoccompoundfeaturekind/#field-oleobject)
- Field [LegacyDocCompoundFeatureKind.VbaProject](/api/word/officeimo-word-legacydoc-model-legacydoccompoundfeaturekind/#field-vbaproject)

### Accepted by parameters 1

- Constructor [LegacyDocCompoundFeature.LegacyDocCompoundFeature](/api/word/officeimo-word-legacydoc-model-legacydoccompoundfeature/#constructor-ctor-officeimo-word-legacydoc-model-legacydoccompoundfeaturekind-string-string-string-string-int32-int64) parameter `kind`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const LegacyDocCompoundFeatureKind VbaProject` [#](#field-vbaproject)

[LegacyDocCompoundFeatureKind.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeatureKind.cs#L9)

VBA project storage was discovered in the OLE compound container.

Value: `0`

`public const LegacyDocCompoundFeatureKind OleObject` [#](#field-oleobject)

[LegacyDocCompoundFeatureKind.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeatureKind.cs#L14)

Embedded OLE object storage was discovered in the OLE compound container.

Value: `1`

`public const LegacyDocCompoundFeatureKind ActiveXControl` [#](#field-activexcontrol)

[LegacyDocCompoundFeatureKind.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeatureKind.cs#L19)

ActiveX control storage was discovered in the OLE compound container.

Value: `2`

`public const LegacyDocCompoundFeatureKind EmbeddedPackage` [#](#field-embeddedpackage)

[LegacyDocCompoundFeatureKind.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeatureKind.cs#L24)

Embedded package payload storage or streams were discovered in the OLE compound container.

Value: `3`

`public const LegacyDocCompoundFeatureKind BinaryData` [#](#field-binarydata)

[LegacyDocCompoundFeatureKind.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeatureKind.cs#L29)

Binary payload stream was discovered in the OLE compound container.

Value: `4`

`public const LegacyDocCompoundFeatureKind DigitalSignature` [#](#field-digitalsignature)

[LegacyDocCompoundFeatureKind.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/LegacyDoc/Model/LegacyDocCompoundFeatureKind.cs#L34)

Digital-signature storage or streams were discovered in the OLE compound container.

Value: `5`

<!-- PowerForge markdown artifact sha256:82B69E537E3113973AC1E25FBE2F8F921EC464D9B71BBE347C5E10198586D820 -->
