BuildMaster SDK Reference
Version:

DirectoryEntryInfo Class

Represents a directory in a file system.

Inheritance Hierarchy

Syntax

public class DirectoryEntryInfo : SystemEntryInfo, IComparable<SystemEntryInfo>, System.IComparable, IEquatable<SystemEntryInfo>, System.Runtime.Serialization.ISerializable

Properties

Name Description
Files

Gets the files contained within the directory.

SubDirectories

Gets the subdirectories contained within the directory.

Methods

Name Description
Flatten

Returns a flattened collection of this directory entry and all directories below it.

FlattenWithFiles

Returns a flattened collection of this directory entry, all directories below it, and all files in all directories.

GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

Remarks

This class is immutable. For a modifiable version that can be used to build directory trees, see DirectoryEntryBuilder.