FileSystemEnumerator<TResult> FileSystemEnumerator<TResult> FileSystemEnumerator<TResult> FileSystemEnumerator<TResult> Class

Definition

generic <typename TResult>
public ref class FileSystemEnumerator abstract : System::Runtime::ConstrainedExecution::CriticalFinalizerObject, System::Collections::Generic::IEnumerator<TResult>
public abstract class FileSystemEnumerator<TResult> : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.Collections.Generic.IEnumerator<TResult>
type FileSystemEnumerator<'Result> = class
    inherit CriticalFinalizerObject
    interface IEnumerator<'Result>
    interface IEnumerator
    interface IDisposable
Public MustInherit Class FileSystemEnumerator(Of TResult)
Inherits CriticalFinalizerObject
Implements IEnumerator(Of TResult)

Type Parameters

TResult
Inheritance
FileSystemEnumerator<TResult>FileSystemEnumerator<TResult>FileSystemEnumerator<TResult>FileSystemEnumerator<TResult>
Implements

Constructors

FileSystemEnumerator<TResult>(String, EnumerationOptions) FileSystemEnumerator<TResult>(String, EnumerationOptions) FileSystemEnumerator<TResult>(String, EnumerationOptions) FileSystemEnumerator<TResult>(String, EnumerationOptions)

Encapsulates a find operation.

Properties

Current Current Current Current

Gets the currently visited element.

Methods

ContinueOnError(Int32) ContinueOnError(Int32) ContinueOnError(Int32) ContinueOnError(Int32)

When overriden in a derived class, returns a value that indicates whether to continue execution or throw the default exception.

Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the current instance of the FileSystemEnumerator<TResult> class.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

When overridden in a derived class, releases the unmanaged resources used by the FileSystemEnumerator<TResult> class and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MoveNext() MoveNext() MoveNext() MoveNext()

Advances the enumerator to the next item of the FileSystemEnumerator<TResult>.

OnDirectoryFinished(ReadOnlySpan<Char>) OnDirectoryFinished(ReadOnlySpan<Char>) OnDirectoryFinished(ReadOnlySpan<Char>) OnDirectoryFinished(ReadOnlySpan<Char>)

When overriden in a derived class, this method is called whenever the end of a directory is reached.

Reset() Reset() Reset() Reset()

Always throws NotSupportedException.

ShouldIncludeEntry(FileSystemEntry) ShouldIncludeEntry(FileSystemEntry) ShouldIncludeEntry(FileSystemEntry) ShouldIncludeEntry(FileSystemEntry)

When overridden in a derived class, determines whether the specified file system entry should be included in the results.

ShouldRecurseIntoEntry(FileSystemEntry) ShouldRecurseIntoEntry(FileSystemEntry) ShouldRecurseIntoEntry(FileSystemEntry) ShouldRecurseIntoEntry(FileSystemEntry)

When overridden in a derived class, determines whether the specified file system entry should be recursed.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
TransformEntry(FileSystemEntry) TransformEntry(FileSystemEntry) TransformEntry(FileSystemEntry) TransformEntry(FileSystemEntry)

When overridden in a derived class, generates the result type from the current entry.

Explicit Interface Implementations

IEnumerator.Current IEnumerator.Current IEnumerator.Current IEnumerator.Current

Gets the currently visited object.

Applies to