For files, retrieves the name of the file. For directories, retrieves the name of the last directory in the hierarchy if possible, otherwise retrieves the fully qualified name.
[Visual Basic] MustOverride Public ReadOnly Property Name As String [C#] public string Name {abstract get;} [C++] public: __property virtual String* get_Name() = 0; [JScript] public abstract function get Name() : String;
A string that is the filename, the name of the last directory in the hierarchy, or the fully qualified name.
FileSystemEntry Class | FileSystemEntry Members | System.IO Namespace