NAnt SDK Documentation - v0.92

Element.Parent Property

Gets or sets the parent of the element.

[Visual Basic]
Public Property Parent As Object
[C#]
public object Parent {get; set;}

Property Value

The parent of the element.

Remarks

This will be the parent Task, Target, or Project depending on where the element is defined.

See Also

Element Class | NAnt.Core Namespace