XPathResult::ResultType Property

.NET Framework (current version)

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

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

property XPathResultType ResultType {
	XPathResultType 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