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

IfTask.PropertyNameExists Property

[This is preliminary documentation and subject to change.]

NOTE: This property is now obsolete.

Use <if test="${property::exists('propertyname')}"> instead.


Used to test whether a property exists.

[Visual Basic]
<TaskAttribute(Name:="propertyexists", Required:=False, ExpandProperties:=True, ProcessXml:=True), _  Obsolete(Message:="Use <if test="${property::exists('propertyname')}"> instead.", IsError:=False)>
Public Property PropertyNameExists As String
[C#]
[TaskAttribute(Name="propertyexists", Required=False, ExpandProperties=True, ProcessXml=True)]
[Obsolete(Message="Use <if test="${property::exists('propertyname')}"> instead.", IsError=False)]
public string PropertyNameExists {get; set;}

Remarks

Missing <remarks> documentation for P:NAnt.Core.Tasks.IfTask.PropertyNameExists

See Also

IfTask Class | NAnt.Core.Tasks Namespace