Share via


Current Property

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

Gets the name of the current file in the collection.

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

Syntax

'Declaration
Public ReadOnly Property Current As Object
public Object Current { get; }
public:
virtual property Object^ Current {
    Object^ get () sealed;
}
abstract Current : Object with get
override Current : Object with get
final function get Current () : Object

Property Value

Type: System. . :: . .Object
The name for the file.

Implements

IEnumerator. . :: . .Current

.NET Framework Security

See Also

Reference

FileEnum Class

System.IO Namespace