NAnt SDK Documentation - v0.92

XmlPeekTask.NodeIndex Property

The index of the node that gets its text returned when the query returns multiple nodes.

[Visual Basic]
<Int32Validator(MinValue:=0, MaxValue:=2147483647, Base:=10), _  TaskAttribute(Required:=False, Name:="nodeindex", ExpandProperties:=True, ProcessXml:=True)>
Public Property NodeIndex As Integer
[C#]
[Int32Validator(MinValue=0, MaxValue=2147483647, Base=10)]
[TaskAttribute(Required=False, Name="nodeindex", ExpandProperties=True, ProcessXml=True)]
public int NodeIndex {get; set;}

See Also

XmlPeekTask Class | NAnt.Core.Tasks Namespace