NAnt SDK Documentation - v0.85-nightly-2005-11-09

StringValidatorAttribute.AllowEmpty Property

[This is preliminary documentation and subject to change.]

Gets or sets a value indicating whether an empty string or a null reference (Nothing in Visual Basic) should be a considered a valid value.

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

Property Value

true if an empty string or a null reference (Nothing in Visual Basic) should be considered a valid value; otherwise, false. The default is true.

Remarks

Missing <remarks> documentation for P:NAnt.Core.Attributes.StringValidatorAttribute.AllowEmpty

See Also

StringValidatorAttribute Class | NAnt.Core.Attributes Namespace