NAnt SDK Documentation - v0.85-nightly-2005-11-09

PathFunctions.GetFullPath Method 

[This is preliminary documentation and subject to change.]

Returns the fully qualified path.

[Visual Basic]
<Function(Name:="get-full-path")>
Public Function GetFullPath( _
   ByVal path As String _
) As String
[C#]
[Function(Name="get-full-path")]
public string GetFullPath(
   string path
);

Parameters

path
The file or directory for which to obtain absolute path information.

Return Value

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

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.PathFunctions.GetFullPath(System.String)

Exceptions

Exception Type Condition
ArgumentException path is a zero-length string, contains only white space, or contains one or more invalid characters.
NotSupportedException path contains a colon (":").
PathTooLongException The specified path, file name, or both exceed the system-defined maximum length.

See Also

PathFunctions Class | NAnt.Core.Functions Namespace