NAnt SDK Documentation - v0.92

BuildElementArrayAttribute Class

Indicates that property should be treated as a XML arrayList

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

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

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

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

Should only be applied to properties exposing strongly typed arrays or strongly typed collections.

The XML format is like this:

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

Requirements

Namespace: NAnt.Core.Attributes

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

See Also

BuildElementArrayAttribute Members | NAnt.Core.Attributes Namespace