XPathResult.ResultType Property

.NET Framework (current version)

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

Returns the type of the value returned by the XPath query.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

member ResultType : XPathResultType with get

Property Value

Type: System.Xml.XPath.XPathResultType


One of the enumeration values. To get the actual result, use the corresponding method. For example, if the value is Number, use the GetResultAsNumber method.

.NET Framework
Available since 4.0
Return to top