NAnt SDK Documentation - v0.92 |

# Project.ExpandProperties Method

Expands a String from known properties.

[Visual Basic]
Public Function ExpandProperties( _
ByVal input As String, _
ByVal location As Location _
) As String
[C#]
public string ExpandProperties(
string input,
Location location
);

#### Parameters

input
  The String with replacement tokens.
location
  The location in the build file. Used to throw more accurate exceptions.

#### Return Value

The expanded and replaced String.

#### See Also

Project Class | NAnt.Core Namespace