DirectoryEntries Class

Definition

Contains a collection of DirectoryEntry objects.

C#
public class DirectoryEntries : System.Collections.IEnumerable
Inheritance
DirectoryEntries
Implements

Properties

SchemaFilter

Gets the schemas that specify which child objects are contained in the collection.

Methods

Add(String, String)

Creates a new entry in the container.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Find(String, String)

Returns the member of this collection with the specified name and of the specified type.

Find(String)

Returns the member of this collection with the specified name.

GetEnumerator()

Returns an enumerator that iterates through the collection.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(DirectoryEntry)

Deletes a member of this collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also