XPathResultType Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the return type of the XPath expression.

Namespace:   System.Xml.XPath
Assembly:  System.Xml (in System.Xml.dll)

public enum XPathResultType

Member nameDescription
Any

Any of the XPath node types.

Boolean

A Booleantrue or false value.

Error

The expression does not evaluate to the correct XPath type.

Navigator

A tree fragment.

NodeSet

A node collection.

Number

A numeric value.

String

A String value.

.NET Framework
Available since 1.1
Silverlight
Available since 4.0
Return to top
Show: