Share via


FileEnum Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Contains members for working with files.

Inheritance Hierarchy

System. . :: . .Object
  System.IO..::..FileEnum

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

Syntax

'Declaration
Public Class FileEnum _
    Implements IEnumerator, IDisposable
public class FileEnum : IEnumerator, IDisposable
public ref class FileEnum : IEnumerator, 
    IDisposable
type FileEnum =  
    class
        interface IEnumerator
        interface IDisposable
    end
public class FileEnum implements IEnumerator, IDisposable

The FileEnum type exposes the following members.

Constructors

  Name Description
Public method FileEnum Initializes a new instances of the FileEnum class.

Top

Properties

  Name Description
Public property Current Gets the name of the current file in the collection.

Top

Methods

  Name Description
Public method Dispose() () () () Releases all resources used by the FileEnum.
Protected method Dispose(Boolean) Releases all resources used by the FileEnum and optionally releases the managed resources.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases resources before it is reclaimed by garbage collection. (Overrides Object. . :: . .Finalize() () () ().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveNext Advances to the next element in the collection.
Public method Reset Sets the enumerator to its initial position, which is before the first element in the collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.IO Namespace