NAnt SDK Documentation - v0.92 |

# Element Class

Models a NAnt XML element in the build file.

For a list of all members of this type, see Element Members.

System.Object
NAnt.Core.Element
Derived types

[Visual Basic]
<Serializable, _ Serializable>
MustInherit Public Class Element
[C#]
[Serializable]
[Serializable]
public abstract class Element

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Remarks

Automatically validates attributes in the element based on attributes applied to members in derived classes.

#### Requirements

Namespace: NAnt.Core

Assembly: NAnt.Core (in NAnt.Core.dll)

#### See Also

Element Members | NAnt.Core Namespace