DirectoryInfo.Name Property
Click or drag to resize
DirectoryInfoName Property
Gets the name of this DirectoryInfo instance.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public override string Name { get; }

Property Value

Type: String
The directory name.
Remarks

This Name property returns only the name of the directory, such as "Bin".

To get the full path, such as "c:\public\Bin", use the FullName property.

See Also