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

PathFunctions.IsPathRooted Method 

[This is preliminary documentation and subject to change.]

Determines whether a path string is absolute.

[Visual Basic]
<Function(Name:="is-path-rooted")>
Public Shared Function IsPathRooted( _
   ByVal path As String _
) As Boolean
[C#]
[Function(Name="is-path-rooted")]
public static bool IsPathRooted(
   string path
);

Parameters

path
The path to test.

Return Value

true if path contains an absolute path; otherwise, false.

Remarks

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

Exceptions

Exception Type Condition
ArgumentException path contains one or more invalid characters.

See Also

PathFunctions Class | NAnt.Core.Functions Namespace