A collection opened with access type directory ( AT_DIR ) must inherit from the DirectoryEntry base class.