Summary
Returns the filename without extension for the specified path string.
Syntax
[Function("get-file-name-without-extension")]
public static string GetFileNameWithoutExtension(string path)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
path |
string |
The path of the file. |
Return Value
Type |
Description |
string |
A string containing the string returned
by NAnt.Core.Functions.PathFunctions.GetFileName(System.String) , minus the last period (.) and all
characters following it.
|