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

# DirectoryColorFlag

## Overview

`DirectoryColorFlag` is an enumeration encoding the red-black tree color byte stored in every CFB directory entry. The CFB specification (MS-CFB §2.6.2) uses a red-black tree to maintain the sibling ordering of directory entries within a storage. Reading this value from a `DirectoryEntry` or `CfbWriter.EntryRecord` identifies whether the node is a red or black node in the tree.

Base type: `byte`.

## Members

| Name | Description |
|------|-------------|
| `Red` | Red node in the CFB directory red-black tree. |
| `Black` | Black node in the CFB directory red-black tree. |

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