NAnt SDK Documentation - v0.92

XmlPeekTask.Property Property

The property that receives the text representation of the XML inside the node returned from the XPath expression.

[Visual Basic]
<StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null"), _  TaskAttribute(Required:=True, Name:="property", ExpandProperties:=True, ProcessXml:=True)>
Public Property Property As String
[C#]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
[TaskAttribute(Required=True, Name="property", ExpandProperties=True, ProcessXml=True)]
public string Property {get; set;}

See Also

XmlPeekTask Class | NAnt.Core.Tasks Namespace