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

# DirectoryEntry

## Overview

`DirectoryEntry` represents a single 128-byte directory entry record parsed from the CFB directory sector by `CfbReader`. Iterate the raw entries via `CfbReader.DirectoryEntries`. Call `IsStorage()`, `IsStream()`, or `IsRoot()` to determine the entry type without inspecting the raw object-type byte. Use the companion `DirectoryObjectType` enum for explicit type comparisons. Access the full list of entries via `CfbReader.DirectoryEntries`.

## Methods

| Signature | Description |
|-----------|-------------|
| `IsStorage()` | Returns `true` if this entry's object-type byte is `StorageObject` (0x01). |
| `IsStream()` | Returns `true` if this entry's object-type byte is `StreamObject` (0x02). |
| `IsRoot()` | Returns `true` if this entry's object-type byte is `RootStorageObject` (0x05). |

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