C#
Parameters
- directoryName
- The name of the folder.
Return Value
The string that represents the name of the specified folder in the following format: [Folder Name][Separator].Exception | Description |
---|---|
ArgumentNullOrEmptyException | When passing as a parameter directoryName of an empty string or null . |
[Separator] - a symbol set by the platform (OS) for separating folder levels in the path string.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2