---
Product: Aspose.Email
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/email/python/directoryobjecttype
---

# DirectoryObjectType

## Overview

`DirectoryObjectType` is an enum in Aspose.Email FOSS for Python.

Classifies the directory entry payload as unallocated, storage, stream, or root storage.

This enumeration defines 4 values: `UNKNOWN_OR_UNALLOCATED`, `STORAGE_OBJECT`, `STREAM_OBJECT`, `ROOT_STORAGE_OBJECT`.

## Values

| Value | Description |
|-------|-------------|
| `UNKNOWN_OR_UNALLOCATED` | Represents an undefined or unallocated directory object type |
| `STORAGE_OBJECT` | Represents a standard storage object within a CFB container |
| `STREAM_OBJECT` | Represents a stream object within a CFB container |
| `ROOT_STORAGE_OBJECT` | Represents the root storage object of a CFB container |

## See Also

- [Aspose.Email for Python — Enterprise API Reference](https://reference.aspose.com/email/python-net/)