WebQuery Properties for Substitution

WebQuery provides the following properties to be used for substitution in other controls.

ResultIndex

This is a text that reads as Current Result Index n; where n is the index of the current node that is found to meet the criteria. If not found it is 1.

TextResult

This is the InnerText property of the returned node for the current match. It returns an empty string when there is no match.

HTMLResult

This is the InnerHTML property of the returned node for the current match. It returns an empty string when there is no match.

 

Read more about WebQuery control.