Table of Contents

CompoundEntryType Enum

Definition

Namespace
Bodu.IO.Compound
Assembly
Bodu.IO.Compound.dll
Package
Bodu.IO.Compound 1.0.0
Source
CompoundEntryType.cs

Identifies the kind of object an entry describes within a compound file's directory.

public enum CompoundEntryType : byte
Extension Methods

Fields

Unknown = 0

An unknown or unallocated directory entry. Such entries are not surfaced through the navigation API.

Storage = 1

A storage object, equivalent to a directory in a file system; it may contain child storages and streams.

Stream = 2

A stream object, equivalent to a file in a file system; it holds an opaque byte payload.

RootStorage = 5

The single root-storage entry that anchors the directory tree and owns the mini-stream.

Remarks

The numeric values match the object-type byte stored in each directory entry by the OLE2 / Compound File Binary specification, so the enum can be assigned directly from the parsed byte. They also correspond to the STGTY_* constants of the COM structured-storage API.

Applies to

ProductVersions
.NET8, 10