Description

SearchTypes are used with Search method, and define how entities are filtered. Search method will return new collection of entities based on search criteria. For example, one such search can be used like this:

Set GoogleLinks = wodParser.Parts.Filter("P").Search(ByAttributeName, "class")

which would return only <P...> HTML tags that contain attribute 'class' inside, such as:

<P class="f1">, <P class="anything">, <P class=test size=123>

etc.

 




Members
Constant Value Description
 ByText 0 When Text property matches..
 ByRaw 1 When Raw property matches.
 ByAttributeName 2 When entity attribute name matches.
 ByAttributeValue 3 When entity attribute value matches.
 ByStartAfter 4 When entity position starts after.
 ByEndBefore 5 When entity position ends before.
 ByHasChildren 6 When entity has child entities.
 ByNoText 128 When Text property does not match.
 ByNoRaw 129 When Raw property does not match.
 ByNoAttributeName 130 When entity attribute name does not match.
 ByNoAttributeValue 131 When entity attribute value does not match.
 ByStartBefore 132 When entity position starts before.
 ByEndAfter 133 When entity position ends after.
 ByHasNoChildren 134 When entity does not have child entities.