• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FolderHierarchy

Provides folder hierarchy functionality.

Inheritance
object
AbstractFolderHierarchy
FolderHierarchy
Inherited Members
AbstractFolderHierarchy._file
AbstractFolderHierarchy.ValidationResults
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Mail.Pst.Folders
Assembly: DRIT.Mail.dll
Syntax
public class FolderHierarchy : AbstractFolderHierarchy

Constructors

View Source

FolderHierarchy(AbstractPstFile)

Provides folder hierarchy functionality.

Declaration
public FolderHierarchy(AbstractPstFile file)
Parameters
Type Name Description
AbstractPstFile file
Remarks

The UnicodePstFile is passed in order to be able to get a normal or an encoded stream.

Properties

View Source

RootCompositeFolder

Gets or sets the root composite folder value.

Declaration
public CompositeFolder RootCompositeFolder { get; }
Property Value
Type Description
CompositeFolder
View Source

Top

Gets or sets the top value.

Declaration
public CompositeFolder Top { get; }
Property Value
Type Description
CompositeFolder

Methods

View Source

From(FolderHierarchy)

Builds a folder hierarchy from another folder hierarchy.

Declaration
public void From(FolderHierarchy folderHierarchy)
Parameters
Type Name Description
FolderHierarchy folderHierarchy
Remarks

IT is assumed that the minimal folder hierarchy exists in both, with the same folder names.

View Source

GetAllFoldersFlatDepthFirst()

Provides folder hierarchy functionality.

Declaration
public IEnumerable<CompositeFolder> GetAllFoldersFlatDepthFirst()
Returns
Type Description
IEnumerable<CompositeFolder>
View Source

GetFolderByDisplayName(string)

Gets a folder by its display name from all folders.

Declaration
public CompositeFolder GetFolderByDisplayName(string name)
Parameters
Type Name Description
string name
Returns
Type Description
CompositeFolder
View Source

Write()

Writes values to the underlying storage.

Declaration
public void Write()
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX