XPathResult.ResultType 屬性

定義

傳回 XPath 查詢所傳回值的型別。

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

屬性值

XPathResultType

其中一個列舉值。 若要取得實際的結果,請使用對應的方法。 例如,如果值為 Number,請使用 GetResultAsNumber() 方法。

適用於