XPathResult.ResultType Property

Definition

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

public:
 property System::Xml::XPath::XPathResultType ResultType { System::Xml::XPath::XPathResultType get(); };
public System.Xml.XPath.XPathResultType ResultType { get; }
member this.ResultType : System.Xml.XPath.XPathResultType
Public ReadOnly Property ResultType As XPathResultType

Property Value

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.

Applies to