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 | |
---|---|---|
FileEnum | Initializes a new instances of the FileEnum class. |
Top
Properties
Name | Description | |
---|---|---|
Current | Gets the name of the current file in the collection. |
Top
Methods
Name | Description | |
---|---|---|
Dispose() () () () | Releases all resources used by the FileEnum. | |
Dispose(Boolean) | Releases all resources used by the FileEnum and optionally releases the managed resources. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Releases resources before it is reclaimed by garbage collection. (Overrides Object. . :: . .Finalize() () () ().) | |
GetHashCode | Serves as a hash function for a particular type. (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.) | |
MoveNext | Advances to the next element in the collection. | |
Reset | Sets the enumerator to its initial position, which is before the first element in the collection. | |
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.