EnumerationType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public enum class EnumerationType
public enum EnumerationType
type EnumerationType =
Public Enum EnumerationType
- Inheritance
-
EnumerationType
Fields
ElementCollection | 3 | Enumerates the element nodes returned by an XPath operation. |
Navigator | 0 | Enumerates the navigator objects in the XML document |
Node | 1 | Enumerates the nodes returned by using an XPath operation. |
NodeText | 2 | Enumerates text nodes returned by an XPath operation. |
Remarks
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.