Name Property (FileInfo)

Class

FileInfo.

Action

Gets the name of the file.

Syntax

C#

public String Name { get; }

VB

Public Read Property Name As String

Access

Read only.