Returns the filename for the specified path string.
A String consisting of the characters after the last directory character in path.
If the last character of path is a directory or volume separator character, an empty String is returned.
Exception Type | Condition |
---|---|
ArgumentException | path contains one or more invalid characters. |
PathFunctions Class | NAnt.Core.Functions Namespace