XPathResult.ResultType Property


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

 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


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