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

PathSet.TranslatePath Method 

[This is preliminary documentation and subject to change.]

Splits a PATH (with ; or : as separators) into its parts, while resolving references to environment variables.

[Visual Basic]
Public Shared Function TranslatePath( _
   ByVal project As Project, _
   ByVal source As String _
) As StringCollection
[C#]
public static StringCollection TranslatePath(
   Project project,
   string source
);

Parameters

project
The Project to be used to resolve relative paths.
source
The path to translate.

Return Value

A PATH split up its parts, with references to environment variables resolved and duplicate entries removed.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Types.PathSet.TranslatePath(NAnt.Core.Project,System.String)

See Also

PathSet Class | NAnt.Core.Types Namespace