PathFunctions.

GetFullPath(string) Method

Summary

Returns the fully qualified path.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
PathFunctions

Syntax

[Function("get-full-path")]
public string GetFullPath(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 file or directory for which to obtain absolute path information.

Return Value

Type Description
string A string containing the fully qualified location of path, such as "C:\MyFile.txt".