DirectoryObjectType

DirectoryObjectType

Overview

DirectoryObjectType is an enumeration identifying the object type byte of a CFB directory entry. The CFB specification stores a single byte at offset 66 of each 128-byte entry record to indicate whether the entry is a storage container, a data stream, the root storage, or unallocated. Use the enum constants instead of raw byte literals when inspecting CfbWriter.ObjectType or building directory entries programmatically.

Base type: byte.

Members

NameDescription
UnknownOrUnallocatedUnallocated or unused directory entry (object-type byte 0x00).
StorageObjectStorage container entry, analogous to a directory (object-type byte 0x01).
StreamObjectData stream entry, analogous to a file (object-type byte 0x02).
RootStorageObjectStorage container entry, analogous to a directory (object-type byte 0x01).

See Also