NAnt SDK Documentation - v0.92

BuildElementAttribute Class

Indicates that the property should be treated as an XML element and further processing should be done.

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

System.Object
   System.Attribute
      NAnt.Core.Attributes.BuildElementAttribute
         NAnt.Core.Attributes.BuildElementArrayAttribute
         NAnt.Core.Attributes.FileSetAttribute

[Visual Basic]
<AttributeUsage(Inherited:=True, ValidOn:=(AttributeTargets.Method Or AttributeTargets.Property), AllowMultiple:=False)>
Public Class BuildElementAttribute
    Inherits Attribute
[C#]
[AttributeUsage(Inherited=True, ValidOn=(AttributeTargets.Method|AttributeTargets.Property), AllowMultiple=False)]
public class BuildElementAttribute : Attribute

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

The XML format is like this:

    
<task>
    <elementName ...>
        <morestuff />
    </elementName>
</task>
    

Requirements

Namespace: NAnt.Core.Attributes

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

See Also

BuildElementAttribute Members | NAnt.Core.Attributes Namespace