---
Product: Aspose.Email
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/email/net/directory-object-type
---

# 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

| Name | Description |
|------|-------------|
| `UnknownOrUnallocated` | Unallocated or unused directory entry (object-type byte `0x00`). |
| `StorageObject` | Storage container entry, analogous to a directory (object-type byte `0x01`). |
| `StreamObject` | Data stream entry, analogous to a file (object-type byte `0x02`). |
| `RootStorageObject` | Storage container entry, analogous to a directory (object-type byte `0x01`). |

## See Also
- [Aspose.Email for .NET — Enterprise API Reference](https://reference.aspose.com/email/net/)