EnumerationType Enumeration
Specifies the type of objects in the NodeList array that will be iterated over by the ForEachNodeListEnumerator. The EnumerationType property is set to one of the values in this enumeration.
Assembly: Microsoft.SqlServer.ForEachNodeListEnumerator (in Microsoft.SqlServer.ForEachNodeListEnumerator.dll)
| Member name | Description | |
|---|---|---|
| ElementCollection | Enumerates the element nodes returned by an XPath operation. | |
| Navigator | Enumerates the navigator objects in the XML document | |
| Node | Enumerates the nodes returned by using an XPath operation. | |
| NodeText | Enumerates text nodes returned by an XPath operation. |
If the EnumerationType is Navigator, Node, or NodeText, use the OuterXPathStringSourceType and the OuterXPathString properties.
If the EnumerationType is ElementCollection, set the OuterXPathStringSourceType and OuterXPathString properties. Then, use the InnerElementType property to set the enumeration type for the inner elements. Lastly, set the InnerXPathStringSourceType property.