PhysicalDirectoryContents Class

Definition

Represents the contents of a physical file directory.

public ref class PhysicalDirectoryContents : Microsoft::Extensions::FileProviders::IDirectoryContents, System::Collections::Generic::IEnumerable<Microsoft::Extensions::FileProviders::IFileInfo ^>
public class PhysicalDirectoryContents : Microsoft.Extensions.FileProviders.IDirectoryContents, System.Collections.Generic.IEnumerable<Microsoft.Extensions.FileProviders.IFileInfo>
type PhysicalDirectoryContents = class
    interface IDirectoryContents
    interface seq<IFileInfo>
    interface IEnumerable
Public Class PhysicalDirectoryContents
Implements IDirectoryContents, IEnumerable(Of IFileInfo)
Inheritance
PhysicalDirectoryContents
Implements

Remarks

This API supports the .NET infrastructure and is not intended to be used directly from your code.

Constructors

PhysicalDirectoryContents(String)

Initializes an instance of PhysicalDirectoryContents.

PhysicalDirectoryContents(String, ExclusionFilters)

Initializes an instance of PhysicalDirectoryContents.

Properties

Exists

Gets a value that indicates if a directory is located at this path.

Methods

Equals(Object)

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

(Inherited from Object)
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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Extension Methods

CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Applies to