NAnt SDK Documentation - v0.92 |

# PathSet.TranslatePath Method

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.

#### See Also

PathSet Class | NAnt.Core.Types Namespace