NAnt SDK Documentation - v0.92

Element.GetLocation Method 

Retrieves the location in the build file where the element is defined.

[Visual Basic]
Public Function GetLocation() As Location
[C#]
public Location GetLocation();

Return Value

The element's build file location

See Also

Element Class | NAnt.Core Namespace