Required Property

NAnt SDK Documentation - v0.92 |

# BuildElementAttribute.Required Property

Gets or sets a value indicating whether the attribute is required.

[Visual Basic]
Public Property Required As Boolean
[C#]
public bool Required {get; set;}

#### Property Value

true if the attribute is required; otherwise, false. The default is false.

#### See Also

BuildElementAttribute Class | NAnt.Core.Attributes Namespace